]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite6268ea9902b702e9e9e07f1222bb00c251a8680
tree5230fed3edaf8ababea7708e447a94988c6139a4
parent08db05b891f87c3b5bf5b1fd256e45496a4bbee7
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