summaryrefslogtreecommitdiff
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorBob Copeland <me@bobcopeland.com>2009-07-04 16:59:53 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 19:02:29 (GMT)
commit88f6bfe1829d67bea37b060d53131b2b96ebc8ac (patch)
tree7b51cf9bd35f0a5ac18d6a4aac24f98b7f0330da /drivers/net/wireless
parent21800491cc5c48e9f1084a6f524a0da7c2525cc6 (diff)
downloadlinux-fsl-qoriq-88f6bfe1829d67bea37b060d53131b2b96ebc8ac.tar.xz
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/net/wireless')
-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);