Skip to content

Commit

Permalink
bridge: cfm: remove redundant return
Browse files Browse the repository at this point in the history
Return statements are not needed in Void function.

Signed-off-by: gushengxian <gushengxian@yulong.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
gushengxian authored and David S. Miller committed Jun 22, 2021
1 parent f2fcffe commit 98534fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/bridge/br_cfm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 98534fc

Please sign in to comment.