net: moxa: remove redundant dev_err call in moxart_mac_probe()
authorGuobin Huang <huangguobin4@huawei.com>
Sat, 27 Mar 2021 10:37:54 +0000 (18:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 01:06:50 +0000 (18:06 -0700)
commit9d0365448b5b954bba1b551ade5b273d629446bb
treebf8de78742703f97027817d0a26f5f5f2c544125
parentd759c1bd2696c8d72d0f824eb32eadac6eb210c8
net: moxa: remove redundant dev_err call in moxart_mac_probe()

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/ethernet/moxa/moxart_ether.c