diff options
Diffstat (limited to 'atahpt.c')
-rw-r--r-- | atahpt.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |