diff options
author | Salil Mehta <[email protected]> | 2017-08-30 12:06:03 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-08-30 15:29:42 -0700 |
commit | 752b06946cc99534a7a4a11b7196e9a1e3d7e098 (patch) | |
tree | 26d8518599d39c0fc0ec92c6cdb5ed357b86209a /lib/mpi/mpi-cmp.c | |
parent | dc8007e8fa88be6d92ee6e2371d16b5860496a2d (diff) |
net: hns3: Fixes the wrong IS_ERR check on the returned phydev value
This patch removes the wrong check being done for the phy device being
returned by the mdiobus_get_phy() function. This function never returns
the error pointers.
Fixes: 256727da7395 ("net: hns3: Add MDIO support to HNS3 Ethernet
Driver for hip08 SoC")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Salil Mehta <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions