mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 20:02:10 -04:00
staging: crystalhd: enclose multi statements macro
Enclose multiple statements macro with do - while block. Signed-off-by: SeongJae Park <sj38.park@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
c34ca5a97b
commit
6037b10655
@@ -433,10 +433,12 @@ static void crystalhd_rx_pkt_rel_call_back(void *context, void *data)
|
||||
}
|
||||
|
||||
#define crystalhd_hw_delete_ioq(adp, q) \
|
||||
do { \
|
||||
if (q) { \
|
||||
crystalhd_delete_dioq(adp, q); \
|
||||
q = NULL; \
|
||||
}
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
static void crystalhd_hw_delete_ioqs(struct crystalhd_hw *hw)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user