From: Oleksij Rempel Date: Sat, 11 May 2013 15:46:31 +0000 (+0200) Subject: remove unused adf_os_cpu_to_le16 X-Git-Tag: 1.4.0~12^2^2~21 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=a942c5ad0ff07400bf9338d5687ede7b3cb7e79b;p=open-ath9k-htc-firmware.git remove unused adf_os_cpu_to_le16 Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_ath.c b/target_firmware/wlan/if_ath.c index 59b6c94..53b15cd 100755 --- a/target_firmware/wlan/if_ath.c +++ b/target_firmware/wlan/if_ath.c @@ -80,17 +80,6 @@ void owl_tgt_node_init(struct ath_node_target * an); void ath_tgt_tx_sched_normal(struct ath_softc_tgt *sc, struct ath_buf *bf); void ath_tgt_tx_sched_nonaggr(struct ath_softc_tgt *sc,struct ath_buf * bf_host); -/*************/ -/* Utilities */ -/*************/ - -#undef adf_os_cpu_to_le16 - -static a_uint16_t adf_os_cpu_to_le16(a_uint16_t x) -{ - return ((((x) & 0xff00) >> 8) | (((x) & 0x00ff) << 8)); -} - /* * Extend a 32 bit TSF to 64 bit, taking wrapping into account. */