projects
/
deliverable
/
linux.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
[deliverable/linux.git]
/
drivers
/
net
/
sunlance.c
diff --git
a/drivers/net/sunlance.c
b/drivers/net/sunlance.c
index 64e7d08c878ff1f337ac1ca9fac88603b0eb2fe3..cf9d5bb9e1e9a876a4eabc24530e2c3f574b8302 100644
(file)
--- a/
drivers/net/sunlance.c
+++ b/
drivers/net/sunlance.c
@@
-1196,7
+1196,7
@@
static void lance_load_multicast(struct net_device *dev)
return;
/* Add addresses */
- for (i = 0; i <
dev->mc_count
; i++) {
+ for (i = 0; i <
netdev_mc_count(dev)
; i++) {
addrs = dmi->dmi_addr;
dmi = dmi->next;
This page took
0.035441 seconds
and
5
git commands to generate.