summaryrefslogtreecommitdiff
path: root/net/bridge/br_cfm.c
diff options
context:
space:
mode:
authorgushengxian <gushengxian@yulong.com>2021-06-22 09:05:19 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-22 20:35:15 +0300
commit98534fce52efc76d961f5fe4188a97a5db93c7dd (patch)
treeef317fb30770592cca1ae315003123bcdfaf6c11 /net/bridge/br_cfm.c
parentf2fcffe392c1fd8324f131bf33d7d350eff44bb6 (diff)
downloadlinux-98534fce52efc76d961f5fe4188a97a5db93c7dd.tar.xz
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/br_cfm.c')
-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)