Skip to content

Commit e848643

Browse files
hiss2018hubcapsc
authored andcommitted
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]> Signed-off-by: Mike Marshall <[email protected]>
1 parent 476af91 commit e848643

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/orangefs/orangefs-mod.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ static int __init orangefs_init(void)
149149
pr_info("%s: module version %s loaded\n",
150150
__func__,
151151
ORANGEFS_VERSION);
152-
ret = 0;
153152
goto out;
154153
}
155154

0 commit comments

Comments
 (0)