staging: et131x: Fix et131x smatch issues
authorMark Einon <mark.einon@gmail.com>
Mon, 10 Oct 2011 15:21:12 +0000 (16:21 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 Oct 2011 16:10:30 +0000 (10:10 -0600)
commit33fd472ee7b98ac187f0fcee33d97a187bdbaa08
tree6a425b6abe41906a09b8e41af22b9ac99eea887c
parent6617c3698778ae896deb89804f7ba8efb4d2252d
staging: et131x: Fix et131x smatch issues

This fixes the following issues:

et131x_initpci.c +488 et131x_adjust_link(45) error: we previously assumed 'phydev' could be null.
et131x_initpci.c +504 et131x_adjust_link(61) warn: variable dereferenced before check 'phydev'

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/et131x_initpci.c