aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBob Copeland <me@bobcopeland.com>2009-07-04 12:59:53 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 15:02:29 -0400
commit88f6bfe1829d67bea37b060d53131b2b96ebc8ac (patch)
tree7b51cf9bd35f0a5ac18d6a4aac24f98b7f0330da /drivers
parent21800491cc5c48e9f1084a6f524a0da7c2525cc6 (diff)
downloadkernel_samsung_smdk4412-88f6bfe1829d67bea37b060d53131b2b96ebc8ac.zip
kernel_samsung_smdk4412-88f6bfe1829d67bea37b060d53131b2b96ebc8ac.tar.gz
kernel_samsung_smdk4412-88f6bfe1829d67bea37b060d53131b2b96ebc8ac.tar.bz2
ath: remove unnecessary return in ath_regd_get_band_ctl
'default' case already returns NO_CTL Signed-off-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/regd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/regd.c b/drivers/net/wireless/ath/regd.c
index eef370bd..f37c832 100644
--- a/drivers/net/wireless/ath/regd.c
+++ b/drivers/net/wireless/ath/regd.c
@@ -569,7 +569,5 @@ u32 ath_regd_get_band_ctl(struct ath_regulatory *reg,
default:
return NO_CTL;
}
-
- return NO_CTL;
}
EXPORT_SYMBOL(ath_regd_get_band_ctl);