diff options
author | Tang Bin <tangbin@cmss.chinamobile.com> | 2020-04-18 11:51:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-20 21:05:24 +0300 |
commit | bdbe05b381ecb65494199abf044be3a8d5530b58 (patch) | |
tree | 99c77319d7e23a4956348e8be7ad82b6e703444e /drivers/net | |
parent | 27de77cec985233bdf6546437b9761853265c505 (diff) | |
download | linux-bdbe05b381ecb65494199abf044be3a8d5530b58.tar.xz |
net: systemport: Omit superfluous error message in bcm_sysport_probe()
In the function bcm_sysport_probe(), when get irq failed, the function
platform_get_irq() logs an error message, so remove redundant message
here.
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/broadcom/bcmsysport.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bcmsysport.c b/drivers/net/ethernet/broadcom/bcmsysport.c index af7ce5c5488c..c99e5a3fa746 100644 --- a/drivers/net/ethernet/broadcom/bcmsysport.c +++ b/drivers/net/ethernet/broadcom/bcmsysport.c @@ -2475,7 +2475,6 @@ static int bcm_sysport_probe(struct platform_device *pdev) priv->wol_irq = platform_get_irq(pdev, 1); } if (priv->irq0 <= 0 || (priv->irq1 <= 0 && !priv->is_lite)) { - dev_err(&pdev->dev, "invalid interrupts\n"); ret = -EINVAL; goto err_free_netdev; } |