OSDN Git Service

ath9k: Remove useless check in MCI reset
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Mon, 16 Feb 2015 05:19:54 +0000 (10:49 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Mar 2015 12:55:16 +0000 (14:55 +0200)
commit7d1805e194dc9916dceb683f9763bf7cd7d68c20
tree62457311b7b8a6f6aaacf6a25a6172608c662775
parentae55099f5b6f79ec88a91af3dae3f6cdfec92303
ath9k: Remove useless check in MCI reset

If we fail to allocate the sched/gpm buffers when
initializing MCI, we bail out properly. Checking
them in ar9003_mci_reset() is unnecessary, so remove it.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/ar9003_mci.c