OSDN Git Service

octeontx2-pf: mcs: remove unneeded semicolon
authorYang Li <yang.lee@linux.alibaba.com>
Thu, 6 Oct 2022 11:44:00 +0000 (19:44 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Oct 2022 07:44:44 +0000 (08:44 +0100)
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>
drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c

index 64f3acd..18420d9 100644 (file)
@@ -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);