aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ll_temac_mdio.c
diff options
context:
space:
mode:
authorkirjanov@gmail.com <kirjanov@gmail.com>2010-02-19 05:00:52 +0000
committerDavid S. Miller <davem@davemloft.net>2010-02-19 13:15:51 -0800
commit6e03718c852a7b2ce756e37ae340f4ebfec2f6f3 (patch)
tree757de27224214a865b55983ee79c7ba3301c777f /drivers/net/ll_temac_mdio.c
parent91fea5858418127ad33e0060f726c62be0047eaf (diff)
greth: some driver cleanups
On Fri, Feb 19, 2010 at 13:51 +0100, Jiri Pirko wrote: > > <snip> > >>@@ -1031,7 +1029,7 @@ static void greth_set_multicast_list(struct net_device *dev) > >> return; > >> } > >> > >>- if (dev->mc_count == 0) { > >>+ if (!netdev_mc_count(dev)) { > also please use netdev_mc_empty() here. Some driver cleanups: * convert to use phy_find_first/phy_direct_connect * convert to use netdev_mc_* helpers * fixed missing validate_addr hook * removed netdev_priv castings Signed-off-by: Denis Kirjanov <kirjanov@gmail.com> Reviewed-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ll_temac_mdio.c')
0 files changed, 0 insertions, 0 deletions