rtnetlink: remove check for fill_slave_info in rtnl_have_link_slave_info
authorJiri Pirko <jiri@resnulli.us>
Thu, 23 Jan 2014 18:19:21 +0000 (19:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jan 2014 00:21:48 +0000 (16:21 -0800)
commit813f020c5d16878486b9a103bd59831846652247
tree92c34fd95ca63a6e07d571921c1ceb5b1ce9109a
parent9fac865db04b4ee39c84fbcb461c38585acaff27
rtnetlink: remove check for fill_slave_info in rtnl_have_link_slave_info

This check is not needed because the same check is done before
fill_slave_info is used in rtnl_link_slave_info_fill.
Also, by removing this check, kernel will fillup IFLA_INFO_SLAVE_KIND
even for slaves of masters which does not implement fill_slave_info.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c