net: core: remove unneeded semicolon
Subsystems (2)
PATCH 1/1 net: core: remove unneeded semicolon
From: Tom Rix <[email protected]>
A semicolon is not needed after a switch statement.
Signed-off-by Tom Rix <[email protected]>
--- net/core/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/core/dev.c +1 -1
@@ -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,
Signature · 1 line
2.18.1
Quoted 7 lines · On Sun, Nov 1, 2020 at 7:38 AM <[email protected]> wrote:
From: Tom Rix <[email protected]>
A semicolon is not needed after a switch statement.
Signed-off-by Tom Rix <[email protected]>---
Yep.
Acked-by Andrii Nakryiko <[email protected]>
Quoted 19 lines
net/core/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)net/core/dev.c +1
-2@@ -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
Quoted 5 lines · On Sun, 1 Nov 2020 07:36:47 -0800 [email protected] wrote:
From: Tom Rix <[email protected]>
A semicolon is not needed after a switch statement.
Signed-off-by Tom Rix <[email protected]>
Applied...