diff options
-rw-r--r-- | drivers/staging/crystalhd/crystalhd_hw.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/crystalhd/crystalhd_hw.c b/drivers/staging/crystalhd/crystalhd_hw.c index 8d0680d..ccfa3b8 100644 --- a/drivers/staging/crystalhd/crystalhd_hw.c +++ b/drivers/staging/crystalhd/crystalhd_hw.c @@ -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) { |