[PATCH] Remove unnecessary check in drivers/net/depca.c
authorEric Sesterhenn <snakebyte@gmx.de>
Tue, 10 Oct 2006 21:33:28 +0000 (14:33 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 05:11:55 +0000 (00:11 -0500)
commit107ce6d21b746f33f85f4385b9802b3ae928f876
tree309accadd55d13fe706cadc9368aa5402381343f
parenta189317fa0e9d425cd3a4c248b06f96d876cf7fd
[PATCH] Remove unnecessary check in drivers/net/depca.c

This was spotted by coverity (cid #793).  All callers dereference dev
before calling this functions, and we dereference it earlier in the
function, when initializing lp.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/depca.c