summaryrefslogtreecommitdiffstats
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2020-11-01 07:36:47 -0800
committerJakub Kicinski <kuba@kernel.org>2020-11-02 17:51:02 -0800
commit5d867245c46a7c4e52acdc8d2625c11c1d3e72b1 (patch)
tree344536218d708eed10b10b5da0408f7808400d6f /net/core/dev.c
parent9d253c02acd6bfd8c9a5c0d3a9ce18daaac84489 (diff)
net: core: remove unneeded semicolon
A semicolon is not needed after a switch statement. Signed-off-by: Tom Rix <trix@redhat.com> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20201101153647.2292322-1-trix@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/dev.c')
-rw-r--r--net/core/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 9e7f071b846c..bd6100da66f4 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -8902,7 +8902,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,