commit | 80d8e96d127a91dc3f298e9bb959473b9df1063a | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Mon Feb 24 16:56:11 2014 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 24 20:26:36 2014 -0500 |
tree | b475b79452eb058decdf9c1f0dca7dd6222a08f7 | |
parent | 432c5b3a108c7e5185e34c4f25dc61824740c21d [diff] |
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>