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:
Родитель
476af91933
Коммит
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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче