netdev: convert non-obvious instances to use ARRAY_SIZE()
authorAlejandro Martinez Ruiz <alex@flawedcode.org>
Mon, 15 Oct 2007 01:37:43 +0000 (03:37 +0200)
committerJeff Garzik <jeff@garzik.org>
Mon, 15 Oct 2007 19:57:38 +0000 (15:57 -0400)
commite9edda697ed7697f1288d0656570e49c47e204ae
tree6d43d602b7e0eb98940a516e0e0d2c8fd1a7006a
parent88a15f2e28bd6a908b2925f1b76e70ef3a88297d
netdev: convert non-obvious instances to use ARRAY_SIZE()

This will convert remaining non-obvious or naive calculations of array
sizes to use ARRAY_SIZE() macro.

Signed-off-by: Alejandro Martinez Ruiz <alex@flawedcode.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/cassini.c
drivers/net/irda/donauboe.c
drivers/net/ne-h8300.c
drivers/net/tg3.c
drivers/net/tulip/de4x5.c
drivers/net/wan/sdla.c