Loading drivers/net/phy/fixed.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -236,12 +236,12 @@ module_init(fixed_mdio_bus_init); static void __exit fixed_mdio_bus_exit(void) static void __exit fixed_mdio_bus_exit(void) { { struct fixed_mdio_bus *fmb = &platform_fmb; struct fixed_mdio_bus *fmb = &platform_fmb; struct fixed_phy *fp; struct fixed_phy *fp, *tmp; mdiobus_unregister(&fmb->mii_bus); mdiobus_unregister(&fmb->mii_bus); platform_device_unregister(pdev); platform_device_unregister(pdev); list_for_each_entry(fp, &fmb->phys, node) { list_for_each_entry_safe(fp, tmp, &fmb->phys, node) { list_del(&fp->node); list_del(&fp->node); kfree(fp); kfree(fp); } } Loading Loading
drivers/net/phy/fixed.c +2 −2 Original line number Original line Diff line number Diff line Loading @@ -236,12 +236,12 @@ module_init(fixed_mdio_bus_init); static void __exit fixed_mdio_bus_exit(void) static void __exit fixed_mdio_bus_exit(void) { { struct fixed_mdio_bus *fmb = &platform_fmb; struct fixed_mdio_bus *fmb = &platform_fmb; struct fixed_phy *fp; struct fixed_phy *fp, *tmp; mdiobus_unregister(&fmb->mii_bus); mdiobus_unregister(&fmb->mii_bus); platform_device_unregister(pdev); platform_device_unregister(pdev); list_for_each_entry(fp, &fmb->phys, node) { list_for_each_entry_safe(fp, tmp, &fmb->phys, node) { list_del(&fp->node); list_del(&fp->node); kfree(fp); kfree(fp); } } Loading