aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/dev/ath
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2019-08-21 10:42:31 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2019-08-21 10:42:31 +0000
commite303ee524e6f00dd77c68434675a10243a985d91 (patch)
treeeecbb890c4e6aeeca5cb44a312755491133e832b /sys/contrib/dev/ath
parent443127c5172ef7125a2b2b0255081daf472b3c1d (diff)
downloadsrc-e303ee524e6f00dd77c68434675a10243a985d91.tar.gz
src-e303ee524e6f00dd77c68434675a10243a985d91.zip
athhal: disable unused function (big endian only)
Disable ar9300_swap_tx_desc() for the moment. It is an unused function only tried to compile on big endian systems. Found by: s390x buildkernel MFC after: 3 months
Notes
Notes: svn path=/head/; revision=351327
Diffstat (limited to 'sys/contrib/dev/ath')
-rw-r--r--sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit_ds.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit_ds.c b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit_ds.c
index fff72363158b..d14d916abba6 100644
--- a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit_ds.c
+++ b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_xmit_ds.c
@@ -26,9 +26,11 @@
#include "ar9300/ar9300phy.h"
#include "ah_devid.h"
+#if 0
#if AH_BYTE_ORDER == AH_BIG_ENDIAN
static void ar9300_swap_tx_desc(void *ds);
#endif
+#endif
void
ar9300_tx_req_intr_desc(struct ath_hal *ah, void *ds)
@@ -174,6 +176,7 @@ ar9300_clear_dest_mask(struct ath_hal *ah, void *ds)
}
#endif
+#if 0
#if AH_BYTE_ORDER == AH_BIG_ENDIAN
/* XXX what words need swapping */
/* Swap transmit descriptor */
@@ -193,6 +196,7 @@ ar9300_swap_tx_desc(void *dsp)
ds->status8 = __bswap32(ds->status8);
}
#endif
+#endif
/*