From caa95c0a8d5f37ddd4e204fc13721ad991cb25de Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 10 May 2014 06:20:01 +0000 Subject: [PATCH] scst_pres: Fix a recently introduced checkpatch warning Avoid that checkpatch reports the following: WARNING: do {} while (0) macros should not be semicolon terminated git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5517 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_pres.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/scst_pres.c b/scst/src/scst_pres.c index e5ce9fa1b..85433044c 100644 --- a/scst/src/scst_pres.c +++ b/scst/src/scst_pres.c @@ -81,7 +81,7 @@ if (dev->dev_list_entry.next && \ !list_empty(&dev->dev_list_entry)) \ lockdep_assert_held(&dev->dev_pr_mutex); \ - } while (0); + } while (0) #else static inline void scst_assert_pr_mutex_held(struct scst_device *dev) {