diff options
author | Jing Xiangfeng <jingxiangfeng@huawei.com> | 2020-07-17 12:52:59 +0300 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2020-08-04 22:01:58 +0300 |
commit | e848643b524be9c10826c2cf36eebb74eef643d2 (patch) | |
tree | 1e03109d320d17ee9ff3b81debcf7e31a7cde6bc /fs/orangefs/orangefs-mod.c | |
parent | 476af91933ce81d534761d31382459f6e9eb6c6d (diff) | |
download | linux-e848643b524be9c10826c2cf36eebb74eef643d2.tar.xz |
orangefs: remove unnecessary assignment to variable ret
The variable ret is guaranteed to be 0 in this if (). So we can remove
this assignement.
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-mod.c')
-rw-r--r-- | fs/orangefs/orangefs-mod.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/orangefs/orangefs-mod.c b/fs/orangefs/orangefs-mod.c index 289b648ae196..74a3d6337ef4 100644 --- a/fs/orangefs/orangefs-mod.c +++ b/fs/orangefs/orangefs-mod.c @@ -149,7 +149,6 @@ static int __init orangefs_init(void) pr_info("%s: module version %s loaded\n", __func__, ORANGEFS_VERSION); - ret = 0; goto out; } |