]> 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)
commit6a09b7eeb93f3c86530311cf01cd5f3e6c4417d6
tree716d82c1ac94f5b3cc5562265867c9a253a462b5
parent9437b980c112bd35f60e6b55b001a3433219877a
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