diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 6 |
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 | ||
828 | static 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 */ |
835 | const char *ath9k_hw_probe(u16 vendorid, u16 devid); | 829 | const char *ath9k_hw_probe(u16 vendorid, u16 devid); |
836 | void ath9k_hw_deinit(struct ath_hw *ah); | 830 | void ath9k_hw_deinit(struct ath_hw *ah); |