ath9k: Fix uninitialized variable in ath9k_has_tx_pending()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 26 Jan 2014 10:53:21 +0000 (11:53 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Feb 2014 20:31:49 +0000 (15:31 -0500)
commitf783807308d1178683e583ccf268816bb05f41b2
treea7c223316f2620186a4c89eb2f17072bc37a9364
parent6f7343d4c4682b52943993decc8678084a35514d
ath9k: Fix uninitialized variable in ath9k_has_tx_pending()

drivers/net/wireless/ath/ath9k/main.c: In function ‘ath9k_has_tx_pending’:
drivers/net/wireless/ath/ath9k/main.c:1869: warning: ‘npend’ may be used uninitialized in this function

Introduced by commit 10e2318103f5941aa70c318afe34bc41f1b98529 ("ath9k:
optimize ath9k_flush").

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c