aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index e5b72262fd96..f821a28bcda3 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -825,12 +825,6 @@ static inline struct ath_hw_ops *ath9k_hw_ops(struct ath_hw *ah)
825 return &ah->ops; 825 return &ah->ops;
826} 826}
827 827
828static inline int sign_extend(int val, const int nbits)
829{
830 int order = BIT(nbits-1);
831 return (val ^ order) - order;
832}
833
834/* Initialization, Detach, Reset */ 828/* Initialization, Detach, Reset */
835const char *ath9k_hw_probe(u16 vendorid, u16 devid); 829const char *ath9k_hw_probe(u16 vendorid, u16 devid);
836void ath9k_hw_deinit(struct ath_hw *ah); 830void ath9k_hw_deinit(struct ath_hw *ah);