From: Bob Copeland Date: Sat, 4 Jul 2009 16:59:53 +0000 (-0400) Subject: ath: remove unnecessary return in ath_regd_get_band_ctl X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=88f6bfe1829d67bea37b060d53131b2b96ebc8ac;p=linux-beck.git ath: remove unnecessary return in ath_regd_get_band_ctl 'default' case already returns NO_CTL Signed-off-by: Bob Copeland Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/regd.c b/drivers/net/wireless/ath/regd.c index eef370bd1211..f37c83275793 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);