ep93xx: some minor cleanups to the ep93xx eth driver
authorYan Burman <burman.yan@gmail.com>
Tue, 19 Dec 2006 21:08:48 +0000 (13:08 -0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 26 Dec 2006 21:41:08 +0000 (16:41 -0500)
commitebf5112ca7a714a3961a322459747059cbf41d7b
tree9bcda044319d814d5e05247c7acc96d00dd8cbaf
parent3a960f7e350de5d087b88a4c06df236e0f4186fd
ep93xx: some minor cleanups to the ep93xx eth driver

Small cleanup in the Cirrus Logic EP93xx ethernet driver: Check for NULL
pointer before dereferencing it instead of after.  Remove unreferenced
variable.

Signed-off-by: Yan Burman <burman.yan@gmail.com>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/arm/ep93xx_eth.c