aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ath/ah_osdep.c
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2009-03-24 00:09:35 +0000
committerSam Leffler <sam@FreeBSD.org>2009-03-24 00:09:35 +0000
commitaa28501a676da5e8da83a2481f60e8bb652d7f16 (patch)
tree9eaa973a5c5b45ba765eb9a426e2fdf24eeca4c2 /sys/dev/ath/ah_osdep.c
parent1b344bf7d75163cc38158586f9fc0780c9d1f41f (diff)
Notes
Diffstat (limited to 'sys/dev/ath/ah_osdep.c')
-rw-r--r--sys/dev/ath/ah_osdep.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/sys/dev/ath/ah_osdep.c b/sys/dev/ath/ah_osdep.c
index c124772771c8..b5880eedc368 100644
--- a/sys/dev/ath/ah_osdep.c
+++ b/sys/dev/ath/ah_osdep.c
@@ -71,12 +71,7 @@ extern void ath_hal_assert_failed(const char* filename,
int lineno, const char* msg);
#endif
#ifdef AH_DEBUG
-#if HAL_ABI_VERSION >= 0x08090101
extern void HALDEBUG(struct ath_hal *ah, u_int mask, const char* fmt, ...);
-#else
-extern void HALDEBUG(struct ath_hal *ah, const char* fmt, ...);
-extern void HALDEBUGn(struct ath_hal *ah, u_int level, const char* fmt, ...);
-#endif
#endif /* AH_DEBUG */
/* NB: put this here instead of the driver to avoid circular references */
@@ -140,7 +135,6 @@ ath_hal_ether_sprintf(const u_int8_t *mac)
}
#ifdef AH_DEBUG
-#if HAL_ABI_VERSION >= 0x08090101
void
HALDEBUG(struct ath_hal *ah, u_int mask, const char* fmt, ...)
{
@@ -151,29 +145,6 @@ HALDEBUG(struct ath_hal *ah, u_int mask, const char* fmt, ...)
va_end(ap);
}
}
-#else
-void
-HALDEBUG(struct ath_hal *ah, const char* fmt, ...)
-{
- if (ath_hal_debug) {
- __va_list ap;
- va_start(ap, fmt);
- ath_hal_vprintf(ah, fmt, ap);
- va_end(ap);
- }
-}
-
-void
-HALDEBUGn(struct ath_hal *ah, u_int level, const char* fmt, ...)
-{
- if (ath_hal_debug >= level) {
- __va_list ap;
- va_start(ap, fmt);
- ath_hal_vprintf(ah, fmt, ap);
- va_end(ap);
- }
-}
-#endif
#endif /* AH_DEBUG */
#ifdef AH_DEBUG_ALQ