From: Jing Xiangfeng Date: Fri, 17 Jul 2020 09:52:59 +0000 (+0800) Subject: orangefs: remove unnecessary assignment to variable ret X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e848643b524be9c10826c2cf36eebb74eef643d2;p=linux.git 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 Signed-off-by: Mike Marshall --- diff --git a/fs/orangefs/orangefs-mod.c b/fs/orangefs/orangefs-mod.c index 289b648ae1967..74a3d6337ef43 100644 --- a/fs/orangefs/orangefs-mod.c +++ b/fs/orangefs/orangefs-mod.c @@ -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; }