]> Pileus Git - ~andy/linux/blobdiff - drivers/net/wan/ixp4xx_hss.c
net: davinci_mdio: gaurd the DT code with IS_ENABLED(CONFIG_OF)
[~andy/linux] / drivers / net / wan / ixp4xx_hss.c
index fc9d11d74d605de87107d9b8642732dd1944f7da..e7bbdb7af53ac7dcbdd21d12705613054efe8626 100644 (file)
@@ -1384,7 +1384,6 @@ static int hss_remove_one(struct platform_device *pdev)
        unregister_hdlc_device(port->netdev);
        free_netdev(port->netdev);
        npe_release(port->npe);
-       platform_set_drvdata(pdev, NULL);
        kfree(port);
        return 0;
 }