diff options
author | Dave Jones <davej@redhat.com> | 2006-04-19 00:19:55 +0200 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2006-04-19 00:19:55 +0200 |
commit | f1f76afd71e0f17af9a35fcb649f4bab53304a4d (patch) | |
tree | a56257b13a0eda4a9b7e950c3b85adad16341b80 /drivers/mtd/maps/pci.c | |
parent | [CPUFREQ] x86_64: Proper null pointer check in powernow_k8_get (diff) | |
parent | x86: be careful about tailcall breakage for sys_open[at] too (diff) | |
download | linux-f1f76afd71e0f17af9a35fcb649f4bab53304a4d.tar.xz linux-f1f76afd71e0f17af9a35fcb649f4bab53304a4d.zip |
Merge ../linus
Diffstat (limited to 'drivers/mtd/maps/pci.c')
-rw-r--r-- | drivers/mtd/maps/pci.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mtd/maps/pci.c b/drivers/mtd/maps/pci.c index 21822c2edbe4..d2ab1bae9c34 100644 --- a/drivers/mtd/maps/pci.c +++ b/drivers/mtd/maps/pci.c @@ -334,9 +334,6 @@ mtd_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) return 0; release: - if (mtd) - map_destroy(mtd); - if (map) { map->exit(dev, map); kfree(map); |