projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8e4aa0
)
mv643xx_eth: Properly resolve merge conflict.
author
David S. Miller
<
[email protected]
>
Mon, 31 Oct 2016 14:33:08 +0000
(10:33 -0400)
committer
David S. Miller
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/marvell/mv643xx_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/marvell/mv643xx_eth.c
b/drivers/net/ethernet/marvell/mv643xx_eth.c
index 69451b1cfd9a4029acbfd23793fb56a8393954ce..6749b831998c9a961bb50ace6752ac50cb256a45 100644
(file)
--- a/
drivers/net/ethernet/marvell/mv643xx_eth.c
+++ b/
drivers/net/ethernet/marvell/mv643xx_eth.c
@@
-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);