]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ath5k: remove ah_mac_revision
authorBruno Randolf <br1@einfach.org>
Tue, 9 Mar 2010 07:55:49 +0000 (16:55 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Mar 2010 22:44:36 +0000 (17:44 -0500)
it's not used, and we have ah_mac_srev.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Acked-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/attach.c

index 2c3b4a65752cb1db81f83a4355572961f1bdb403..1c2a8e87d76787fd04223da7100f95f834ccdf52 100644 (file)
@@ -1047,7 +1047,6 @@ struct ath5k_hw {
        u32                     ah_phy;
        u32                     ah_mac_srev;
        u16                     ah_mac_version;
-       u16                     ah_mac_revision;
        u16                     ah_phy_revision;
        u16                     ah_radio_5ghz_revision;
        u16                     ah_radio_2ghz_revision;
index 66758cb66d5054eda5f871a563340e20befacf4c..dd4099a2ff15b102d2d4ff0ee0a65e812a5f7e3d 100644 (file)
@@ -148,7 +148,6 @@ int ath5k_hw_attach(struct ath5k_softc *sc)
        /* Get MAC, PHY and RADIO revisions */
        ah->ah_mac_srev = srev;
        ah->ah_mac_version = AR5K_REG_MS(srev, AR5K_SREV_VER);
-       ah->ah_mac_revision = AR5K_REG_MS(srev, AR5K_SREV_REV);
        ah->ah_phy_revision = ath5k_hw_reg_read(ah, AR5K_PHY_CHIP_ID) &
                        0xffffffff;
        ah->ah_radio_5ghz_revision = ath5k_hw_radio_revision(ah,