]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix compile warnings when DEBUGFS is disabled.
authorBen Greear <greearb@candelatech.com>
Tue, 17 Apr 2012 22:19:03 +0000 (15:19 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 23 Apr 2012 19:28:34 +0000 (15:28 -0400)
commit257f5e5199d074c84944a9b76c1b09ad40809977
tree716d82c1ac94f5b3cc5562265867c9a253a462b5
parentdd52464b5e0cf002c6ada81a93c97d11e369bc46
ath9k: Fix compile warnings when DEBUGFS is disabled.

This fixes two compile warnings, and removes a useless
cast when assigning the 'sc' variable.

Reported-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/recv.c