ath: remove unnecessary return in ath_regd_get_band_ctl
authorBob Copeland <me@bobcopeland.com>
Sat, 4 Jul 2009 16:59:53 +0000 (12:59 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:02:29 +0000 (15:02 -0400)
'default' case already returns NO_CTL

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/regd.c

index eef370bd12117643562f4b80b03c6e55b92b79f9..f37c83275793c78c3861e1d23cd56ca786e270b4 100644 (file)
@@ -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);