aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2022-10-06 19:44:00 +0800
committerDavid S. Miller <davem@davemloft.net>2022-10-07 08:44:44 +0100
commit7305e7804d04eafff615a24e241aa6105101d48b (patch)
tree19aa34a8f119a331c9b1f18acdc52b21aae170e5 /drivers/net/ethernet/marvell
parenthv_netvsc: Fix race between VF offering and VF association message from host (diff)
downloadlinux-dev-7305e7804d04eafff615a24e241aa6105101d48b.tar.xz
linux-dev-7305e7804d04eafff615a24e241aa6105101d48b.zip
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 <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell')
-rw-r--r--drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c b/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c
index 64f3acd7f67b..18420d9a145f 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);