]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
bridge/br_netlink.c: no need to return void function
authorHangbin Liu <liuhangbin@gmail.com>
Fri, 19 Apr 2024 08:02:00 +0000 (16:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Apr 2024 10:57:14 +0000 (11:57 +0100)
br_info_notify is a void function. There is no need to return.

Fixes: b6d0425b816e ("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>
net/bridge/br_netlink.c

index 2cf4fc756263992eefe6a3580410766fea0c2c1f..f17dbac7d82843091f9131acc68a5a9132fa2eda 100644 (file)
@@ -667,7 +667,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);
 }
 
 /*