]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ath9k: Remove bogus break after return
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Sat, 9 May 2009 00:54:50 +0000 (17:54 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 May 2009 19:24:05 +0000 (15:24 -0400)
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c

index 5879c731e9e772f6e55820267a34e8002eed6250..9e1db85e56511e82fca757fed13bb059d9c9e535 100644 (file)
@@ -1617,11 +1617,9 @@ static bool ath9k_hw_set_reset_reg(struct ath_hw *ah, u32 type)
        switch (type) {
        case ATH9K_RESET_POWER_ON:
                return ath9k_hw_set_reset_power_on(ah);
-               break;
        case ATH9K_RESET_WARM:
        case ATH9K_RESET_COLD:
                return ath9k_hw_set_reset(ah, type);
-               break;
        default:
                return false;
        }