bna: remove unnecessary break after return
authorFabian Frederick <fabf@skynet.be>
Sun, 20 Jul 2014 14:27:48 +0000 (16:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2014 04:30:18 +0000 (21:30 -0700)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/cna_fwimg.c

index 6a68e8d93309ab085bae60dd2dc5531ce1f03765..6f72771caea66a6de0d3380b6edcc83cccbd7fbf 100644 (file)
@@ -68,10 +68,8 @@ bfa_cb_image_get_chunk(enum bfi_asic_gen asic_gen, u32 off)
        switch (asic_gen) {
        case BFI_ASIC_GEN_CT:
                return (bfi_image_ct_cna + off);
-               break;
        case BFI_ASIC_GEN_CT2:
                return (bfi_image_ct2_cna + off);
-               break;
        default:
                return NULL;
        }
@@ -83,10 +81,8 @@ bfa_cb_image_get_size(enum bfi_asic_gen asic_gen)
        switch (asic_gen) {
        case BFI_ASIC_GEN_CT:
                return bfi_image_ct_cna_size;
-               break;
        case BFI_ASIC_GEN_CT2:
                return bfi_image_ct2_cna_size;
-               break;
        default:
                return 0;
        }