drivers/net/acenic.c: fix check-after-use
authorAdrian Bunk <bunk@stusta.de>
Mon, 23 Jul 2007 08:02:32 +0000 (10:02 +0200)
committerJeff Garzik <jeff@garzik.org>
Tue, 24 Jul 2007 20:28:41 +0000 (16:28 -0400)
commitdde9f93c205a791c5647c14d43003c578ebf6f2d
treecffa37e490a386cb88f68030ffbe60065c924e06
parentfcdff13905934874016f1899b15a9221c055d6ea
drivers/net/acenic.c: fix check-after-use

The Coverity checker noted that we've already dereferenced "dev" when we
check whether it's NULL.

Since it's impossible that "dev" is NULL at this place this patch
removes the NULL check.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/acenic.c