Skip to content

Commit

Permalink
bridge/br_netlink.c: no need to return void function
Browse files Browse the repository at this point in the history
[ Upstream commit 4fd1edc ]

br_info_notify is a void function. There is no need to return.

Fixes: b6d0425 ("bridge: cfm: Netlink Notifications.")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
liuhangbin authored and gregkh committed May 2, 2024
1 parent d68dc71 commit 7e8e0e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/bridge/br_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ void br_ifinfo_notify(int event, const struct net_bridge *br,
{
u32 filter = RTEXT_FILTER_BRVLAN_COMPRESSED;

return br_info_notify(event, br, port, filter);
br_info_notify(event, br, port, filter);
}

/*
Expand Down

0 comments on commit 7e8e0e0

Please sign in to comment.