ath5k: remove ah_gpio_npins
authorBruno Randolf <br1@einfach.org>
Tue, 9 Mar 2010 07:55:55 +0000 (16:55 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Mar 2010 22:44:37 +0000 (17:44 -0500)
it's never used and we have a newer implementation in gpio.c.

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/caps.c

index 1c2a8e87d76787fd04223da7100f95f834ccdf52..5898e2e50a70d87da182d9638cc05fd858ca4124 100644 (file)
@@ -1068,8 +1068,6 @@ struct ath5k_hw {
        u8                      ah_def_ant;
        bool                    ah_software_retry;
 
-       int                     ah_gpio_npins;
-
        struct ath5k_capabilities ah_capabilities;
 
        struct ath5k_txq_info   ah_txq[AR5K_NUM_TX_QUEUES];
index 367a6c7d3cc7dd493f93103ed980749011a158ad..e618e71b1ce6223150185e720c2cd7e503d83e7f 100644 (file)
@@ -102,9 +102,6 @@ int ath5k_hw_set_capabilities(struct ath5k_hw *ah)
                }
        }
 
-       /* GPIO */
-       ah->ah_gpio_npins = AR5K_NUM_GPIO;
-
        /* Set number of supported TX queues */
        if (ah->ah_version == AR5K_AR5210)
                ah->ah_capabilities.cap_queues.q_tx_num =