Re: [2.6 patch] drivers/net/acenic.c: fix check-after-use

From: Jeff Garzik
Date: Tue Jul 24 2007 - 16:37:55 EST


Adrian Bunk wrote:
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@xxxxxxxxx>

applied


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/