summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgushengxian <gushengxian@yulong.com>2021-06-21 23:05:19 -0700
committerDavid S. Miller <davem@davemloft.net>2021-06-22 10:35:15 -0700
commit98534fce52efc76d961f5fe4188a97a5db93c7dd (patch)
treeef317fb30770592cca1ae315003123bcdfaf6c11
parentf2fcffe392c1fd8324f131bf33d7d350eff44bb6 (diff)
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>
-rw-r--r--net/bridge/br_cfm.c2
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)