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: Xu 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.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@@ -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,
|
|||||||
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,
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user