PCI: PCIe portdrv: eliminate double kfree in remove path
authorAlex Chiang <achiang@hp.com>
Mon, 9 Mar 2009 18:08:15 +0000 (12:08 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 20 Mar 2009 17:48:16 +0000 (10:48 -0700)
commit9efb5fe1b80a45130ba659ba755f24534c83301b
tree779e383142e46a536fc7a0e1ce97f4e90e5e66d8
parent6a3b3e26803fc823058fbb05abb5e0d92a52e1bd
PCI: PCIe portdrv: eliminate double kfree in remove path

Commit 55633af3 (PCIe portdrv: Use driver data to simplify code)
added a kfree of the driver private data in pcie_port_device_remove
but forgot to remove the old kfree from pcie_portdrv_remove.

Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/portdrv_pci.c