summaryrefslogtreecommitdiffstats
path: root/atahpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'atahpt.c')
-rw-r--r--atahpt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/atahpt.c b/atahpt.c
index c87bc36..6263062 100644
--- a/atahpt.c
+++ b/atahpt.c
@@ -45,7 +45,7 @@ int atahpt_init(void)
get_io_perms();
io_base_addr = pcidev_init(PCI_VENDOR_ID_HPT, PCI_BASE_ADDRESS_4,
- ata_hpt, programmer_param);
+ ata_hpt);
/* Enable flash access. */
reg32 = pci_read_long(pcidev_dev, REG_FLASH_ACCESS);
@@ -66,7 +66,6 @@ int atahpt_shutdown(void)
reg32 &= ~(1 << 24);
pci_write_long(pcidev_dev, REG_FLASH_ACCESS, reg32);
- free(programmer_param);
pci_cleanup(pacc);
release_io_perms();
return 0;
OpenPOWER on IntegriCloud