[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100219125148.GA6598@psychotron.redhat.com>
Date: Fri, 19 Feb 2010 13:51:51 +0100
From: Jiri Pirko <jpirko@...hat.com>
To: kirjanov@...il.com
Cc: davem@...emloft.net, kristoffer@...sler.com, netdev@...r.kernel.org
Subject: Re: [PATCH] greth: some driver cleanups
<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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists