Commit 22ce8561 authored by Colin Ian King's avatar Colin Ian King Committed by Mike Marshall

orangefs: remove redundant assignment to variable ret

The variable ret is being initialized with a value that is
never read and it is being updated later with a new value. The
initialization is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarMike Marshall <hubcap@omnibond.com>
parent 9cb1fd0e
...@@ -79,7 +79,7 @@ DECLARE_WAIT_QUEUE_HEAD(orangefs_request_list_waitq); ...@@ -79,7 +79,7 @@ DECLARE_WAIT_QUEUE_HEAD(orangefs_request_list_waitq);
static int __init orangefs_init(void) static int __init orangefs_init(void)
{ {
int ret = -1; int ret;
__u32 i = 0; __u32 i = 0;
if (op_timeout_secs < 0) if (op_timeout_secs < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment