net: bcmgenet: drop checks on priv->phydev
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 25 Feb 2014 00:56:11 +0000 (16:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Feb 2014 01:26:36 +0000 (20:26 -0500)
commit80d8e96d127a91dc3f298e9bb959473b9df1063a
treeb475b79452eb058decdf9c1f0dca7dd6222a08f7
parent432c5b3a108c7e5185e34c4f25dc61824740c21d
net: bcmgenet: drop checks on priv->phydev

Drop all the checks on priv->phydev since we will refuse probing the
driver if we cannot attach to a PHY device. Drop all checks on
priv->phydev. This also fixes some smatch issues reported by Dan
Carpenter.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c