aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mwl
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2015-08-07 12:34:20 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2015-08-07 12:34:20 +0000
commit7a3151955b10f7d1e8b1d4f29b6e666423d8c574 (patch)
treefaeb4cd6adc3536a76969a092a4a30d9eb4f56a6 /sys/dev/mwl
parentcbaa6a0e0c5d5c6d9da63974d66631bbb15aa0a3 (diff)
downloadsrc-7a3151955b10f7d1e8b1d4f29b6e666423d8c574.tar.gz
src-7a3151955b10f7d1e8b1d4f29b6e666423d8c574.zip
Fix !MWL_DEBUG build.
Notes
Notes: svn path=/head/; revision=286413
Diffstat (limited to 'sys/dev/mwl')
-rw-r--r--sys/dev/mwl/if_mwl.c8
1 files 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");