mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user