summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c
diff options
context:
space:
mode:
authorAntonio Murdaca <antoniomurdaca@gmail.com>2015-06-08 21:48:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-08 13:15:38 -0700
commit71e8dd9a2f8dc9fc14fe9b20515709cc33f4a255 (patch)
tree167f2e54a8a259167d32dec93976b43c4d90abe9 /drivers/staging/lustre/lustre/ldlm/ldlm_pool.c
parent9ee81443b99ae3a022ba145ed62e22a5173e33f6 (diff)
staging: lustre: cleanup not needed else clauses
cleanup checkpatch.pl warnings about not needed else clauses after a break or return Signed-off-by: Antonio Murdaca <antonio.murdaca@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/ldlm/ldlm_pool.c')
-rw-r--r--drivers/staging/lustre/lustre/ldlm/ldlm_pool.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c b/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c
index 310cc60252fa..1605b9c69271 100644
--- a/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c
+++ b/drivers/staging/lustre/lustre/ldlm/ldlm_pool.c
@@ -1401,8 +1401,7 @@ static int ldlm_pools_thread_main(void *arg)
if (thread_test_and_clear_flags(thread, SVC_STOPPING))
break;
- else
- thread_test_and_clear_flags(thread, SVC_EVENT);
+ thread_test_and_clear_flags(thread, SVC_EVENT);
}
thread_set_flags(thread, SVC_STOPPED);