svn commit: r286413 - head/sys/dev/mwl
Gleb Smirnoff
glebius at FreeBSD.org
Fri Aug 7 12:34:21 UTC 2015
Author: glebius
Date: Fri Aug 7 12:34:20 2015
New Revision: 286413
URL: https://svnweb.freebsd.org/changeset/base/286413
Log:
Fix !MWL_DEBUG build.
Modified:
head/sys/dev/mwl/if_mwl.c
Modified: head/sys/dev/mwl/if_mwl.c
==============================================================================
--- head/sys/dev/mwl/if_mwl.c Fri Aug 7 12:24:25 2015 (r286412)
+++ head/sys/dev/mwl/if_mwl.c Fri Aug 7 12:34:20 2015 (r286413)
@@ -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");
More information about the svn-src-all
mailing list