From: Yang Li Date: Thu, 6 Oct 2022 11:44:00 +0000 (+0800) Subject: octeontx2-pf: mcs: remove unneeded semicolon X-Git-Tag: v6.1-rc1~33^2~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7305e7804d04eafff615a24e241aa6105101d48b;p=thirdparty%2Fkernel%2Flinux.git octeontx2-pf: mcs: remove unneeded semicolon Semicolon is not required after curly braces. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2332 Reported-by: Abaci Robot Signed-off-by: Yang Li Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c b/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c index 64f3acd7f67bd..18420d9a145fb 100644 --- a/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c +++ b/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c @@ -133,7 +133,7 @@ static int cn10k_mcs_alloc_rsrc(struct otx2_nic *pfvf, enum mcs_direction dir, default: ret = -EINVAL; goto fail; - }; + } mutex_unlock(&mbox->lock);