mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] net: core: remove unneeded semicolon
@ 2020-11-01 15:36 trix
  2020-11-02 18:59 ` Andrii Nakryiko
  2020-11-03  1:54 ` Jakub Kicinski
  0 siblings, 2 replies; 3+ messages in thread
From: trix @ 2020-11-01 15:36 UTC (permalink / raw)
  To: davem, kuba, ast, andriin, edumazet, ap420073, xiyou.wangcong,
	jiri, maximmi
  Cc: netdev, linux-kernel, Tom Rix

From: Tom Rix <trix@redhat.com>

A semicolon is not needed after a switch statement.

Signed-off-by: Tom Rix <trix@redhat.com>
---
 net/core/dev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/core/dev.c b/net/core/dev.c
index 751e5264fd49..10f5d0c3d0d7 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -8898,7 +8898,7 @@ static bpf_op_t dev_xdp_bpf_op(struct net_device *dev, enum bpf_xdp_mode mode)
 		return dev->netdev_ops->ndo_bpf;
 	default:
 		return NULL;
-	};
+	}
 }
 
 static struct bpf_xdp_link *dev_xdp_link(struct net_device *dev,
-- 
2.18.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-03  1:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-01 15:36 [PATCH] net: core: remove unneeded semicolon trix
2020-11-02 18:59 ` Andrii Nakryiko
2020-11-03  1:54 ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®