aboutsummaryrefslogtreecommitdiffstats
path: root/fs/orangefs
diff options
context:
space:
mode:
authorJing Xiangfeng <jingxiangfeng@huawei.com>2020-07-17 17:52:59 +0800
committerMike Marshall <hubcap@omnibond.com>2020-08-04 15:01:58 -0400
commite848643b524be9c10826c2cf36eebb74eef643d2 (patch)
tree1e03109d320d17ee9ff3b81debcf7e31a7cde6bc /fs/orangefs
parentorangefs: posix acl fix... (diff)
downloadlinux-dev-e848643b524be9c10826c2cf36eebb74eef643d2.tar.xz
linux-dev-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.c1
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;
}