vortex_up should initialize "err"
authorBadari Pulavarty <pbadari@us.ibm.com>
Wed, 17 Oct 2007 23:15:56 +0000 (16:15 -0700)
committerJeff Garzik <jeff@garzik.org>
Thu, 18 Oct 2007 00:23:30 +0000 (20:23 -0400)
commit0280f9f90b4c53e23f8ca98e581eb02f1a598a1a
treeccc8ddf6aa5c52975c4a2f93a6775420eb11550d
parent6ad6c75626cf8b69cd28ae0a81227503a7c3966e
vortex_up should initialize "err"

Simple compile warning fix. (against 2.6.23-git12)

Thanks,
Badari

vortex_up() should initialize 'err' for a successful return.

drivers/net/3c59x.c: In function `vortex_up':
drivers/net/3c59x.c:1494: warning: `err' might be used uninitialized in this function

Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/3c59x.c