mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 01:34:00 +08:00
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:
parent
1e30b8d755
commit
fc6f89dd8c
@ -1323,7 +1323,7 @@ static int rvu_get_attach_blkaddr(struct rvu *rvu, int blktype,
|
||||
break;
|
||||
default:
|
||||
return rvu_get_blkaddr(rvu, blktype, 0);
|
||||
};
|
||||
}
|
||||
|
||||
if (is_block_implemented(rvu->hw, blkaddr))
|
||||
return blkaddr;
|
||||
|
@ -1786,7 +1786,7 @@ static void rvu_dbg_npc_mcam_show_action(struct seq_file *s,
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
}
|
||||
} else {
|
||||
switch (rule->rx_action.op) {
|
||||
case NIX_RX_ACTIONOP_DROP:
|
||||
@ -1807,7 +1807,7 @@ static void rvu_dbg_npc_mcam_show_action(struct seq_file *s,
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -274,7 +274,7 @@ static void npc_scan_parse_result(struct npc_mcam *mcam, u8 bit_number,
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
};
|
||||
}
|
||||
npc_set_kw_masks(mcam, type, nr_bits, kwi, offset, intf);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user