Staging: lustre: libcfs: fix checkpatch warning else after return statement
[firefly-linux-kernel-4.4.55.git] / drivers / staging / lustre / include / linux / libcfs / libcfs_fail.h
index e5231d8f4d1187a3892eb2449af2882412eb794f..eea55d94e6be696d844e08fed58988f41c0b9d69 100644 (file)
@@ -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 */