diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/freescale/fec_mpc52xx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/fec_mpc52xx.c b/drivers/net/ethernet/freescale/fec_mpc52xx.c index 9947765e90c5..ff55fbb20a75 100644 --- a/drivers/net/ethernet/freescale/fec_mpc52xx.c +++ b/drivers/net/ethernet/freescale/fec_mpc52xx.c | |||
@@ -1015,8 +1015,7 @@ mpc52xx_fec_remove(struct platform_device *op) | |||
1015 | 1015 | ||
1016 | unregister_netdev(ndev); | 1016 | unregister_netdev(ndev); |
1017 | 1017 | ||
1018 | if (priv->phy_node) | 1018 | of_node_put(priv->phy_node); |
1019 | of_node_put(priv->phy_node); | ||
1020 | priv->phy_node = NULL; | 1019 | priv->phy_node = NULL; |
1021 | 1020 | ||
1022 | irq_dispose_mapping(ndev->irq); | 1021 | irq_dispose_mapping(ndev->irq); |