]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf601cf92079eb07df46b17b63c24a64533863d05
treea7c223316f2620186a4c89eb2f17072bc37a9364
parent543ef522ac1ef8d76ce2ad911dcaa8a198174629
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 1d2509c81343d6792f7b332e16ca42dd2c1455fe ("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