summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_icside.c
diff options
context:
space:
mode:
authorkirjanov@gmail.com <kirjanov@gmail.com>2010-02-19 05:00:52 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-02-19 21:15:51 (GMT)
commit6e03718c852a7b2ce756e37ae340f4ebfec2f6f3 (patch)
tree757de27224214a865b55983ee79c7ba3301c777f /drivers/ata/pata_icside.c
parent91fea5858418127ad33e0060f726c62be0047eaf (diff)
downloadlinux-6e03718c852a7b2ce756e37ae340f4ebfec2f6f3.tar.xz
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/ata/pata_icside.c')
0 files changed, 0 insertions, 0 deletions