projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d253c0
)
net: core: remove unneeded semicolon
author
Tom Rix
<trix@redhat.com>
Sun, 1 Nov 2020 15:36:47 +0000
(07:36 -0800)
committer
Jakub Kicinski
<kuba@kernel.org>
Tue, 3 Nov 2020 01:51:02 +0000
(17:51 -0800)
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>
net/core/dev.c
patch
|
blob
|
history
diff --git
a/net/core/dev.c
b/net/core/dev.c
index 9e7f071b846c5a0220fc6caa692f0edaaf9f18d7..bd6100da66f476b6b532a5bd96cade77a7bcae6c 100644
(file)
--- 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,