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)
commit990e08a0f6115ce93b480325a575b535c92513ee
tree716d82c1ac94f5b3cc5562265867c9a253a462b5
parent8a690674e0601efbe9a7b16a5826fc522645cca3
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