diff options
Diffstat (limited to 'drivers/net/ethernet/ti/cpsw.c')
-rw-r--r-- | drivers/net/ethernet/ti/cpsw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index 45ba50e4eaec..187c6ef54885 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c | |||
@@ -2123,6 +2123,7 @@ static int cpsw_probe(struct platform_device *pdev) | |||
2123 | priv->irq_enabled = true; | 2123 | priv->irq_enabled = true; |
2124 | if (!priv->cpts) { | 2124 | if (!priv->cpts) { |
2125 | dev_err(&pdev->dev, "error allocating cpts\n"); | 2125 | dev_err(&pdev->dev, "error allocating cpts\n"); |
2126 | ret = -ENOMEM; | ||
2126 | goto clean_ndev_ret; | 2127 | goto clean_ndev_ret; |
2127 | } | 2128 | } |
2128 | 2129 | ||