diff options
author | 2014-09-17 18:14:45 +0530 | |
---|---|---|
committer | 2014-09-19 17:29:34 -0700 | |
commit | 4467a945fc08c0d6624b1dd64cfcc2cbd3b3dee3 (patch) | |
tree | 666e10ac3413f2fa511a92453ce7128c25859f6e /drivers/staging/lustre | |
parent | Staging: lustre: include: libcfs: removed else before return statement in libcfs_crypto.h (diff) | |
download | linux-dev-4467a945fc08c0d6624b1dd64cfcc2cbd3b3dee3.tar.xz linux-dev-4467a945fc08c0d6624b1dd64cfcc2cbd3b3dee3.zip |
Staging: lustre: libcfs: fix checkpatch warning else after return statement
Fix checkpatch warning by removing unnecessary else after return statement.
Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r-- | drivers/staging/lustre/include/linux/libcfs/libcfs_fail.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_fail.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_fail.h index e5231d8f4d11..eea55d94e6be 100644 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_fail.h +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_fail.h @@ -124,8 +124,7 @@ static inline int cfs_fail_timeout_set(__u32 id, __u32 value, int ms, int set) { if (unlikely(CFS_FAIL_PRECHECK(id))) return __cfs_fail_timeout_set(id, value, ms, set); - else - return 0; + return 0; } /* If id hit cfs_fail_loc, sleep for seconds or milliseconds */ |