]> git.baikalelectronics.ru Git - kernel.git/commit
net: mscc: ocelot: remove redundant dev_err call in vsc9959_mdio_bus_alloc()
authorGuobin Huang <huangguobin4@huawei.com>
Mon, 29 Mar 2021 01:54:05 +0000 (09:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 20:16:44 +0000 (13:16 -0700)
commita180be79db4a7eeab575b76b0838087932953caf
tree6d9416a5436edf2d3f253b72ead9a8e222dd0eba
parent3d0dbd546345689aba8c4a00b486abc51622e920
net: mscc: ocelot: remove redundant dev_err call in vsc9959_mdio_bus_alloc()

There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Guobin Huang <huangguobin4@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/ocelot/felix_vsc9959.c