diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-05-25 01:48:02 +0300 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2020-05-29 23:24:57 +0300 |
commit | 22ce85611fd5a793edf84bfc0a101077cbe85e4f (patch) | |
tree | a26ffe4da2468a2a4211d36d2b6496c8881a5908 /fs/orangefs | |
parent | 9cb1fd0efd195590b828b9b865421ad345a4a145 (diff) | |
download | linux-22ce85611fd5a793edf84bfc0a101077cbe85e4f.tar.xz |
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 <colin.king@canonical.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs')
-rw-r--r-- | fs/orangefs/orangefs-mod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/orangefs/orangefs-mod.c b/fs/orangefs/orangefs-mod.c index c010c1fddafc..289b648ae196 100644 --- a/fs/orangefs/orangefs-mod.c +++ b/fs/orangefs/orangefs-mod.c @@ -79,7 +79,7 @@ DECLARE_WAIT_QUEUE_HEAD(orangefs_request_list_waitq); static int __init orangefs_init(void) { - int ret = -1; + int ret; __u32 i = 0; if (op_timeout_secs < 0) |