]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - drivers/net/wireless/ath/ath5k/base.h
ath5k: define ath_common ops
[linux-2.6.git] / drivers / net / wireless / ath / ath5k / base.h
index 005d25f2e13077d7e2eb85222aed499b876a39b9..b14ba07e9157a391bf5a6bcc61828e08065728a2 100644 (file)
@@ -201,15 +201,4 @@ struct ath5k_softc {
 #define ath5k_hw_hasveol(_ah) \
        (ath5k_hw_get_capability(_ah, AR5K_CAP_VEOL, 0, NULL) == 0)
 
-static inline struct ath_common *ath5k_hw_common(struct ath5k_hw *ah)
-{
-       return &ah->common;
-}
-
-static inline struct ath_regulatory *ath5k_hw_regulatory(struct ath5k_hw *ah)
-{
-       return &(ath5k_hw_common(ah)->regulatory);
-
-}
-
 #endif