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:
Jing Xiangfeng 2020-07-17 17:52:59 +08:00 committed by Mike Marshall
parent 476af91933
commit e848643b52

View File

@ -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;
}