Commit 4467a945 authored by Darshana Padmadas's avatar Darshana Padmadas Committed by Greg Kroah-Hartman

Staging: lustre: libcfs: fix checkpatch warning else after return statement

Fix checkpatch warning by removing unnecessary else after return statement.
Signed-off-by: default avatarDarshana Padmadas <darshanapadmadas@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f5740b2e
...@@ -124,7 +124,6 @@ static inline int cfs_fail_timeout_set(__u32 id, __u32 value, int ms, int set) ...@@ -124,7 +124,6 @@ static inline int cfs_fail_timeout_set(__u32 id, __u32 value, int ms, int set)
{ {
if (unlikely(CFS_FAIL_PRECHECK(id))) if (unlikely(CFS_FAIL_PRECHECK(id)))
return __cfs_fail_timeout_set(id, value, ms, set); return __cfs_fail_timeout_set(id, value, ms, set);
else
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment