From 7a3151955b10f7d1e8b1d4f29b6e666423d8c574 Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Fri, 7 Aug 2015 12:34:20 +0000 Subject: [PATCH] Fix !MWL_DEBUG build. --- sys/dev/mwl/if_mwl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/mwl/if_mwl.c b/sys/dev/mwl/if_mwl.c index 42264ac2ffe0..be80e465cd39 100644 --- a/sys/dev/mwl/if_mwl.c +++ b/sys/dev/mwl/if_mwl.c @@ -245,10 +245,10 @@ enum { static void mwl_printrxbuf(const struct mwl_rxbuf *bf, u_int ix); static void mwl_printtxbuf(const struct mwl_txbuf *bf, u_int qnum, u_int ix); #else -#define IFF_DUMPPKTS_RECV(sc, wh) do {} while (0) -#define IFF_DUMPPKTS_XMIT(sc) do {} while (0) -#define DPRINTF(sc, m, fmt, ...) do {} while (0) -#define KEYPRINTF(sc, k, mac) do {} while (0) +#define IFF_DUMPPKTS_RECV(sc, wh) 0 +#define IFF_DUMPPKTS_XMIT(sc) 0 +#define DPRINTF(sc, m, fmt, ...) do { (void )sc; } while (0) +#define KEYPRINTF(sc, k, mac) do { (void )sc; } while (0) #endif static MALLOC_DEFINE(M_MWLDEV, "mwldev", "mwl driver dma buffers");