projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: use netdev_mc_count and netdev_mc_empty when appropriate
[linux-2.6-block.git]
/
drivers
/
net
/
cris
/
eth_v10.c
diff --git
a/drivers/net/cris/eth_v10.c
b/drivers/net/cris/eth_v10.c
index a24be34a3f7ad3b0adc00268ab3854527817b1c9..c9309eadebc1d8ad3a2e8eb3e9ec6f523d5c444a 100644
(file)
--- a/
drivers/net/cris/eth_v10.c
+++ b/
drivers/net/cris/eth_v10.c
@@
-1564,7
+1564,7
@@
static void
set_multicast_list(struct net_device *dev)
{
struct net_local *lp = netdev_priv(dev);
- int num_addr =
dev->mc_count
;
+ int num_addr =
netdev_mc_count(dev)
;
unsigned long int lo_bits;
unsigned long int hi_bits;