mv643xx_eth: Properly resolve merge conflict.
authorDavid S. Miller <davem@davemloft.net>
Mon, 31 Oct 2016 14:33:08 +0000 (10:33 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Oct 2016 14:33:08 +0000 (10:33 -0400)
The second SET_NETDEV_DEV() in the hunk should be
removed.

Reported-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mv643xx_eth.c

index 69451b1cfd9a4029acbfd23793fb56a8393954ce..6749b831998c9a961bb50ace6752ac50cb256a45 100644 (file)
@@ -3224,8 +3224,6 @@ static int mv643xx_eth_probe(struct platform_device *pdev)
        dev->min_mtu = 64;
        dev->max_mtu = 9500;
 
-       SET_NETDEV_DEV(dev, &pdev->dev);
-
        if (mp->shared->win_protect)
                wrl(mp, WINDOW_PROTECT(mp->port_num), mp->shared->win_protect);