orangefs: remove unnecessary assignment to variable ret
PATCH 1/1 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 <[email protected]>
--- fs/orangefs/orangefs-mod.c | 1 - 1 file changed, 1 deletion(-)
fs/orangefs/orangefs-mod.c +0 -1
@@ -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; }
Signature · 1 line
2.17.1