Commit 91915454 authored by Bruno Randolf's avatar Bruno Randolf Committed by John W. Linville

ath5k: remove ah_gpio_npins

it's never used and we have a newer implementation in gpio.c.
Signed-off-by: default avatarBruno Randolf <br1@einfach.org>
Acked-by: default avatarNick Kossifidis <mickflemm@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent a71bcebc
...@@ -1068,8 +1068,6 @@ struct ath5k_hw { ...@@ -1068,8 +1068,6 @@ struct ath5k_hw {
u8 ah_def_ant; u8 ah_def_ant;
bool ah_software_retry; bool ah_software_retry;
int ah_gpio_npins;
struct ath5k_capabilities ah_capabilities; struct ath5k_capabilities ah_capabilities;
struct ath5k_txq_info ah_txq[AR5K_NUM_TX_QUEUES]; struct ath5k_txq_info ah_txq[AR5K_NUM_TX_QUEUES];
......
...@@ -102,9 +102,6 @@ int ath5k_hw_set_capabilities(struct ath5k_hw *ah) ...@@ -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 */ /* Set number of supported TX queues */
if (ah->ah_version == AR5K_AR5210) if (ah->ah_version == AR5K_AR5210)
ah->ah_capabilities.cap_queues.q_tx_num = ah->ah_capabilities.cap_queues.q_tx_num =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment