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
This commit is contained in:
bz 2019-08-21 10:42:31 +00:00
parent 86c98d165a
commit 99a848f275

View File

@ -26,9 +26,11 @@
#include "ar9300/ar9300phy.h" #include "ar9300/ar9300phy.h"
#include "ah_devid.h" #include "ah_devid.h"
#if 0
#if AH_BYTE_ORDER == AH_BIG_ENDIAN #if AH_BYTE_ORDER == AH_BIG_ENDIAN
static void ar9300_swap_tx_desc(void *ds); static void ar9300_swap_tx_desc(void *ds);
#endif #endif
#endif
void void
ar9300_tx_req_intr_desc(struct ath_hal *ah, void *ds) 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 #endif
#if 0
#if AH_BYTE_ORDER == AH_BIG_ENDIAN #if AH_BYTE_ORDER == AH_BIG_ENDIAN
/* XXX what words need swapping */ /* XXX what words need swapping */
/* Swap transmit descriptor */ /* Swap transmit descriptor */
@ -193,6 +196,7 @@ ar9300_swap_tx_desc(void *dsp)
ds->status8 = __bswap32(ds->status8); ds->status8 = __bswap32(ds->status8);
} }
#endif #endif
#endif
/* /*