diff options
author | gushengxian <gushengxian@yulong.com> | 2021-06-22 08:05:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-22 19:35:15 +0200 |
commit | 98534fce52efc76d961f5fe4188a97a5db93c7dd (patch) | |
tree | ef317fb30770592cca1ae315003123bcdfaf6c11 /net/bridge | |
parent | hv_netvsc: Avoid field-overflowing memcpy() (diff) | |
download | linux-98534fce52efc76d961f5fe4188a97a5db93c7dd.tar.xz linux-98534fce52efc76d961f5fe4188a97a5db93c7dd.zip |
bridge: cfm: remove redundant return
Return statements are not needed in Void function.
Signed-off-by: gushengxian <gushengxian@yulong.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/br_cfm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_cfm.c b/net/bridge/br_cfm.c index 001064f7583d..a3c755d0a09d 100644 --- 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) |