Skip to content

Commit 22ce856

Browse files
Colin Ian Kinghubcapsc
authored andcommitted
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: Colin Ian King <[email protected]> Signed-off-by: Mike Marshall <[email protected]>
1 parent 9cb1fd0 commit 22ce856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/orangefs/orangefs-mod.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ DECLARE_WAIT_QUEUE_HEAD(orangefs_request_list_waitq);
7979

8080
static int __init orangefs_init(void)
8181
{
82-
int ret = -1;
82+
int ret;
8383
__u32 i = 0;
8484

8585
if (op_timeout_secs < 0)

0 commit comments

Comments
 (0)