提交 6644db0c 编写于 作者: F Fabian Frederick 提交者: David S. Miller

bna: remove unnecessary break after return

Signed-off-by: NFabian Frederick <fabf@skynet.be>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 32172654
...@@ -68,10 +68,8 @@ bfa_cb_image_get_chunk(enum bfi_asic_gen asic_gen, u32 off) ...@@ -68,10 +68,8 @@ bfa_cb_image_get_chunk(enum bfi_asic_gen asic_gen, u32 off)
switch (asic_gen) { switch (asic_gen) {
case BFI_ASIC_GEN_CT: case BFI_ASIC_GEN_CT:
return (bfi_image_ct_cna + off); return (bfi_image_ct_cna + off);
break;
case BFI_ASIC_GEN_CT2: case BFI_ASIC_GEN_CT2:
return (bfi_image_ct2_cna + off); return (bfi_image_ct2_cna + off);
break;
default: default:
return NULL; return NULL;
} }
...@@ -83,10 +81,8 @@ bfa_cb_image_get_size(enum bfi_asic_gen asic_gen) ...@@ -83,10 +81,8 @@ bfa_cb_image_get_size(enum bfi_asic_gen asic_gen)
switch (asic_gen) { switch (asic_gen) {
case BFI_ASIC_GEN_CT: case BFI_ASIC_GEN_CT:
return bfi_image_ct_cna_size; return bfi_image_ct_cna_size;
break;
case BFI_ASIC_GEN_CT2: case BFI_ASIC_GEN_CT2:
return bfi_image_ct2_cna_size; return bfi_image_ct2_cna_size;
break;
default: default:
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册