ath9k: Remove duplicate code
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Thu, 2 Oct 2014 01:03:15 +0000 (06:33 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 2 Oct 2014 18:26:31 +0000 (14:26 -0400)
commit60913f4d2951f6410eed969aae4717c7ced37044
tree5230fed3edaf8ababea7708e447a94988c6139a4
parentfc1314c75e0558c03cb434e2af2c257caa201e76
ath9k: Remove duplicate code

ath9k_has_tx_pending() can be used to
check if there are pending frames instead
of having duplicate code.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c