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>
This commit is contained in:
parent
476af91933
commit
e848643b52
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue