Message ID | 20221006114400.4262-1-yang.lee@linux.alibaba.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 7305e7804d04eafff615a24e241aa6105101d48b |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [-next] octeontx2-pf: mcs: remove unneeded semicolon | expand |
Hello: This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>: On Thu, 6 Oct 2022 19:44:00 +0800 you wrote: > 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> > --- > drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Here is the summary with links: - [-next] octeontx2-pf: mcs: remove unneeded semicolon https://git.kernel.org/netdev/net/c/7305e7804d04 You are awesome, thank you!
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);
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> --- drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)