Skip to content

Commit 4fd1edc

Browse files
liuhangbindavem330
authored andcommitted
bridge/br_netlink.c: no need to return void function
br_info_notify is a void function. There is no need to return. Fixes: b6d0425 ("bridge: cfm: Netlink Notifications.") Signed-off-by: Hangbin Liu <[email protected]> Acked-by: Nikolay Aleksandrov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 70dcdf5 commit 4fd1edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/bridge/br_netlink.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ void br_ifinfo_notify(int event, const struct net_bridge *br,
667667
{
668668
u32 filter = RTEXT_FILTER_BRVLAN_COMPRESSED;
669669

670-
return br_info_notify(event, br, port, filter);
670+
br_info_notify(event, br, port, filter);
671671
}
672672

673673
/*

0 commit comments

Comments
 (0)