From: Hangbin Liu Date: Fri, 19 Apr 2024 08:02:00 +0000 (+0800) Subject: bridge/br_netlink.c: no need to return void function X-Git-Tag: Ubuntu-6.11.0-9.9~1653^2~32 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=4fd1edcdf13c0d234543ecf502092be65c5177db;p=mirror_ubuntu-kernels.git bridge/br_netlink.c: no need to return void function br_info_notify is a void function. There is no need to return. Fixes: b6d0425b816e ("bridge: cfm: Netlink Notifications.") Signed-off-by: Hangbin Liu Acked-by: Nikolay Aleksandrov Signed-off-by: David S. Miller --- diff --git a/net/bridge/br_netlink.c b/net/bridge/br_netlink.c index 2cf4fc756263..f17dbac7d828 100644 --- a/net/bridge/br_netlink.c +++ b/net/bridge/br_netlink.c @@ -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); } /*