diff options
author | Jing Xiangfeng <jingxiangfeng@huawei.com> | 2020-07-17 11:52:59 +0200 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2020-08-04 21:01:58 +0200 |
commit | e848643b524be9c10826c2cf36eebb74eef643d2 (patch) | |
tree | 1e03109d320d17ee9ff3b81debcf7e31a7cde6bc /fs/orangefs | |
parent | orangefs: posix acl fix... (diff) | |
download | linux-e848643b524be9c10826c2cf36eebb74eef643d2.tar.xz linux-e848643b524be9c10826c2cf36eebb74eef643d2.zip |
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')
-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; } |