Skip to content

Commit

Permalink
ath5k: remove ah_gpio_npins
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bruno Randolf authored and John W. Linville committed Mar 10, 2010
1 parent a71bceb commit 9191545
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions drivers/net/wireless/ath/ath5k/ath5k.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
3 changes: 0 additions & 3 deletions drivers/net/wireless/ath/ath5k/caps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 9191545

Please sign in to comment.