diff options
Diffstat (limited to 'drivers/net/lp486e.c')
-rw-r--r-- | drivers/net/lp486e.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/lp486e.c b/drivers/net/lp486e.c index 5fc18da1873d..408ae6eb6a8b 100644 --- a/drivers/net/lp486e.c +++ b/drivers/net/lp486e.c | |||
@@ -515,8 +515,6 @@ CLEAR_INT(void) { | |||
515 | outb(0, IOADDR+8); | 515 | outb(0, IOADDR+8); |
516 | } | 516 | } |
517 | 517 | ||
518 | #define SIZE(x) (sizeof(x)/sizeof((x)[0])) | ||
519 | |||
520 | #if 0 | 518 | #if 0 |
521 | /* selftest or dump */ | 519 | /* selftest or dump */ |
522 | static void | 520 | static void |
@@ -532,7 +530,7 @@ i596_port_do(struct net_device *dev, int portcmd, char *cmdname) { | |||
532 | mdelay(30); /* random, unmotivated */ | 530 | mdelay(30); /* random, unmotivated */ |
533 | 531 | ||
534 | printk("lp486e i82596 %s result:\n", cmdname); | 532 | printk("lp486e i82596 %s result:\n", cmdname); |
535 | for (m = SIZE(lp->dump.dump); m && lp->dump.dump[m-1] == 0; m--) | 533 | for (m = ARRAY_SIZE(lp->dump.dump); m && lp->dump.dump[m-1] == 0; m--) |
536 | ; | 534 | ; |
537 | for (i = 0; i < m; i++) { | 535 | for (i = 0; i < m; i++) { |
538 | printk(" %04x", lp->dump.dump[i]); | 536 | printk(" %04x", lp->dump.dump[i]); |