Map ATH_KTR_* to 0 when ATH_DEBUG is not defined. This effectively NOPs
out their use in that case.
This commit is contained in:
parent
f4bd5f21f0
commit
ba59181d1c
@ -91,6 +91,9 @@ extern void ath_printrxbuf(struct ath_softc *, const struct ath_buf *bf,
|
||||
extern void ath_printtxbuf(struct ath_softc *, const struct ath_buf *bf,
|
||||
u_int qnum, u_int ix, int done);
|
||||
#else /* ATH_DEBUG */
|
||||
#define ATH_KTR_INTR 0
|
||||
#define ATH_KTR_ERR 0
|
||||
|
||||
#define IFF_DUMPPKTS(sc, m) \
|
||||
((sc->sc_ifp->if_flags & (IFF_DEBUG|IFF_LINK2)) == (IFF_DEBUG|IFF_LINK2))
|
||||
#define DPRINTF(sc, m, fmt, ...) do { \
|
||||
|
Loading…
x
Reference in New Issue
Block a user