Skip to content

Commit

Permalink
mv643xx_eth: Properly resolve merge conflict.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
davem330 committed Oct 31, 2016
1 parent d8e4aa0 commit 2a43ca0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/ethernet/marvell/mv643xx_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 2a43ca0

Please sign in to comment.