Commit e848643b authored by Jing Xiangfeng's avatar Jing Xiangfeng Committed by Mike Marshall

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: default avatarJing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: default avatarMike Marshall <hubcap@omnibond.com>
parent 476af919
...@@ -149,7 +149,6 @@ static int __init orangefs_init(void) ...@@ -149,7 +149,6 @@ static int __init orangefs_init(void)
pr_info("%s: module version %s loaded\n", pr_info("%s: module version %s loaded\n",
__func__, __func__,
ORANGEFS_VERSION); ORANGEFS_VERSION);
ret = 0;
goto out; goto out;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment