projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2fcffe
)
bridge: cfm: remove redundant return
author
gushengxian
<gushengxian@yulong.com>
Tue, 22 Jun 2021 06:05:19 +0000
(23:05 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 22 Jun 2021 17:35:15 +0000
(10:35 -0700)
Return statements are not needed in Void function.
Signed-off-by: gushengxian <gushengxian@yulong.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_cfm.c
patch
|
blob
|
history
diff --git
a/net/bridge/br_cfm.c
b/net/bridge/br_cfm.c
index
001064f
..
a3c755d
100644
(file)
--- a/
net/bridge/br_cfm.c
+++ b/
net/bridge/br_cfm.c
@@
-142,7
+142,7
@@
static void br_cfm_notify(int event, const struct net_bridge_port *port)
{
u32 filter = RTEXT_FILTER_CFM_STATUS;
-
return
br_info_notify(event, port->br, NULL, filter);
+ br_info_notify(event, port->br, NULL, filter);
}
static void cc_peer_enable(struct br_cfm_peer_mep *peer_mep)