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>
This commit is contained in:
Родитель
f5740b2e7e
Коммит
4467a945fc
|
@ -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)))
|
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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If id hit cfs_fail_loc, sleep for seconds or milliseconds */
|
/* If id hit cfs_fail_loc, sleep for seconds or milliseconds */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче