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
This commit is contained in:
Bart Van Assche
2014-05-10 06:20:01 +00:00
parent c20bc04705
commit caa95c0a8d

View File

@@ -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)
{