diff options
author | Tejun Heo <htejun@gmail.com> | 2007-01-20 02:00:28 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-09 17:39:37 -0500 |
commit | b878ca5d37953ad1c4578b225a13a3c3e7e743b7 (patch) | |
tree | 5a2b3e8bf35f0eb2f2dbc760a9cc66dbb961cf0e /include | |
parent | 24dc5f33ea4b504cfbd23fa159a4cacba8e4d800 (diff) |
libata: remove unused functions
Now that all LLDs are converted to use devres, default stop callbacks
are unused. Remove them.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/libata.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index f96277ed184f..cebbcc8d45fd 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -722,7 +722,6 @@ extern int ata_device_add(const struct ata_probe_ent *ent); | |||
722 | extern void ata_host_detach(struct ata_host *host); | 722 | extern void ata_host_detach(struct ata_host *host); |
723 | extern void ata_host_init(struct ata_host *, struct device *, | 723 | extern void ata_host_init(struct ata_host *, struct device *, |
724 | unsigned long, const struct ata_port_operations *); | 724 | unsigned long, const struct ata_port_operations *); |
725 | extern void ata_host_remove(struct ata_host *host); | ||
726 | extern int ata_scsi_detect(struct scsi_host_template *sht); | 725 | extern int ata_scsi_detect(struct scsi_host_template *sht); |
727 | extern int ata_scsi_ioctl(struct scsi_device *dev, int cmd, void __user *arg); | 726 | extern int ata_scsi_ioctl(struct scsi_device *dev, int cmd, void __user *arg); |
728 | extern int ata_scsi_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)); | 727 | extern int ata_scsi_queuecmd(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)); |
@@ -768,8 +767,6 @@ extern u8 ata_check_status(struct ata_port *ap); | |||
768 | extern u8 ata_altstatus(struct ata_port *ap); | 767 | extern u8 ata_altstatus(struct ata_port *ap); |
769 | extern void ata_exec_command(struct ata_port *ap, const struct ata_taskfile *tf); | 768 | extern void ata_exec_command(struct ata_port *ap, const struct ata_taskfile *tf); |
770 | extern int ata_port_start (struct ata_port *ap); | 769 | extern int ata_port_start (struct ata_port *ap); |
771 | extern void ata_port_stop (struct ata_port *ap); | ||
772 | extern void ata_host_stop (struct ata_host *host); | ||
773 | extern irqreturn_t ata_interrupt (int irq, void *dev_instance); | 770 | extern irqreturn_t ata_interrupt (int irq, void *dev_instance); |
774 | extern void ata_mmio_data_xfer(struct ata_device *adev, unsigned char *buf, | 771 | extern void ata_mmio_data_xfer(struct ata_device *adev, unsigned char *buf, |
775 | unsigned int buflen, int write_data); | 772 | unsigned int buflen, int write_data); |
@@ -856,7 +853,6 @@ struct pci_bits { | |||
856 | unsigned long val; | 853 | unsigned long val; |
857 | }; | 854 | }; |
858 | 855 | ||
859 | extern void ata_pci_host_stop (struct ata_host *host); | ||
860 | extern struct ata_probe_ent * | 856 | extern struct ata_probe_ent * |
861 | ata_pci_init_native_mode(struct pci_dev *pdev, struct ata_port_info **port, int portmask); | 857 | ata_pci_init_native_mode(struct pci_dev *pdev, struct ata_port_info **port, int portmask); |
862 | extern int pci_test_config_bits(struct pci_dev *pdev, const struct pci_bits *bits); | 858 | extern int pci_test_config_bits(struct pci_dev *pdev, const struct pci_bits *bits); |