staging: et131x: Remove unnecessary phydev checks
authorMark Einon <mark.einon@gmail.com>
Thu, 5 Dec 2013 22:37:41 +0000 (22:37 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Dec 2013 20:55:48 +0000 (12:55 -0800)
commit76af0140c0cfb2e72ab1d98a73d6fd25f1070cbc
tree64604ab89093219246cb150a117a70a4bcab8504
parentb96ab7cc8278bf45719bf8d8bf69500d0cadbc5b
staging: et131x: Remove unnecessary phydev checks

Several checks for a valid adapter->phydev pointer are made where the
pointer has already been checked previously in the code path.
Remove these redundant checks.

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