mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] drivers/ide/: cleanups
- setup-pci.c: remove the unused ide_pci_unregister_driver() - ide-dma.c: remove the unused EXPORT_SYMBOL_GPL(ide_in_drive_list) Signed-off-by: Adrian Bunk <[email protected]> Acked-by: Alan Cox <[email protected]> Cc: Bartlomiej Zolnierkiewicz <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
349ae23fe7
commit
27ac6036f3
3 changed files with 0 additions and 21 deletions
|
|
@ -151,8 +151,6 @@ int ide_in_drive_list(struct hd_driveid *id, const struct drive_list_entry *driv
|
|||
return 0;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL_GPL(ide_in_drive_list);
|
||||
|
||||
/**
|
||||
* ide_dma_intr - IDE DMA interrupt handler
|
||||
* @drive: the drive the interrupt is for
|
||||
|
|
|
|||
|
|
@ -794,24 +794,6 @@ int __ide_pci_register_driver(struct pci_driver *driver, struct module *module)
|
|||
|
||||
EXPORT_SYMBOL_GPL(__ide_pci_register_driver);
|
||||
|
||||
/**
|
||||
* ide_unregister_pci_driver - unregister an IDE driver
|
||||
* @driver: driver to remove
|
||||
*
|
||||
* Unregister a currently installed IDE driver. Returns are the same
|
||||
* as for pci_unregister_driver
|
||||
*/
|
||||
|
||||
void ide_pci_unregister_driver(struct pci_driver *driver)
|
||||
{
|
||||
if(!pre_init)
|
||||
pci_unregister_driver(driver);
|
||||
else
|
||||
list_del(&driver->node);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL_GPL(ide_pci_unregister_driver);
|
||||
|
||||
/**
|
||||
* ide_scan_pcidev - find an IDE driver for a device
|
||||
* @dev: PCI device to check
|
||||
|
|
|
|||
Loading…
Reference in a new issue