Commit fc6f89dd authored by Xu Wang's avatar Xu Wang Committed by Jakub Kicinski

octeontx2-af: Remove unneeded semicolons

fix semicolon.cocci warnings:
./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c:272:2-3: Unneeded semicolon
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:1788:3-4: Unneeded semicolon
drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c:1809:3-4: Unneeded semicolon
drivers/net/ethernet/marvell/octeontx2/af/rvu.c:1326:2-3: Unneeded semicolon
Signed-off-by: default avatarXu Wang <vulab@iscas.ac.cn>
Link: https://lore.kernel.org/r/20210119075059.17493-1-vulab@iscas.ac.cn
Link: https://lore.kernel.org/r/20210119075507.17699-1-vulab@iscas.ac.cn
Link: https://lore.kernel.org/r/20210119080037.17931-1-vulab@iscas.ac.cnSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 1e30b8d7
...@@ -1323,7 +1323,7 @@ static int rvu_get_attach_blkaddr(struct rvu *rvu, int blktype, ...@@ -1323,7 +1323,7 @@ static int rvu_get_attach_blkaddr(struct rvu *rvu, int blktype,
break; break;
default: default:
return rvu_get_blkaddr(rvu, blktype, 0); return rvu_get_blkaddr(rvu, blktype, 0);
}; }
if (is_block_implemented(rvu->hw, blkaddr)) if (is_block_implemented(rvu->hw, blkaddr))
return blkaddr; return blkaddr;
......
...@@ -1786,7 +1786,7 @@ static void rvu_dbg_npc_mcam_show_action(struct seq_file *s, ...@@ -1786,7 +1786,7 @@ static void rvu_dbg_npc_mcam_show_action(struct seq_file *s,
break; break;
default: default:
break; break;
}; }
} else { } else {
switch (rule->rx_action.op) { switch (rule->rx_action.op) {
case NIX_RX_ACTIONOP_DROP: case NIX_RX_ACTIONOP_DROP:
...@@ -1807,7 +1807,7 @@ static void rvu_dbg_npc_mcam_show_action(struct seq_file *s, ...@@ -1807,7 +1807,7 @@ static void rvu_dbg_npc_mcam_show_action(struct seq_file *s,
break; break;
default: default:
break; break;
}; }
} }
} }
......
...@@ -274,7 +274,7 @@ static void npc_scan_parse_result(struct npc_mcam *mcam, u8 bit_number, ...@@ -274,7 +274,7 @@ static void npc_scan_parse_result(struct npc_mcam *mcam, u8 bit_number,
break; break;
default: default:
return; return;
}; }
npc_set_kw_masks(mcam, type, nr_bits, kwi, offset, intf); npc_set_kw_masks(mcam, type, nr_bits, kwi, offset, intf);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment