diff options
-rw-r--r-- | drivers/ata/libata-core.c | 10 | ||||
-rw-r--r-- | drivers/ata/libata-sff.c | 2 | ||||
-rw-r--r-- | include/linux/libata.h | 1 |
3 files changed, 1 insertions, 12 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index a01e02c5ce7a..fd912ccb90f8 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -74,7 +74,6 @@ const unsigned long sata_deb_timing_hotplug[] = { 25, 500, 2000 }; | |||
74 | const unsigned long sata_deb_timing_long[] = { 100, 2000, 5000 }; | 74 | const unsigned long sata_deb_timing_long[] = { 100, 2000, 5000 }; |
75 | 75 | ||
76 | const struct ata_port_operations ata_base_port_ops = { | 76 | const struct ata_port_operations ata_base_port_ops = { |
77 | .sff_irq_clear = ata_noop_irq_clear, | ||
78 | .prereset = ata_sff_prereset, | 77 | .prereset = ata_sff_prereset, |
79 | .hardreset = sata_sff_hardreset, | 78 | .hardreset = sata_sff_hardreset, |
80 | .postreset = ata_sff_postreset, | 79 | .postreset = ata_sff_postreset, |
@@ -387,14 +386,6 @@ int atapi_cmd_type(u8 opcode) | |||
387 | } | 386 | } |
388 | 387 | ||
389 | /** | 388 | /** |
390 | * ata_noop_irq_clear - Noop placeholder for irq_clear | ||
391 | * @ap: Port associated with this ATA transaction. | ||
392 | */ | ||
393 | void ata_noop_irq_clear(struct ata_port *ap) | ||
394 | { | ||
395 | } | ||
396 | |||
397 | /** | ||
398 | * ata_tf_to_fis - Convert ATA taskfile to SATA FIS structure | 389 | * ata_tf_to_fis - Convert ATA taskfile to SATA FIS structure |
399 | * @tf: Taskfile to convert | 390 | * @tf: Taskfile to convert |
400 | * @pmp: Port multiplier port | 391 | * @pmp: Port multiplier port |
@@ -6108,7 +6099,6 @@ EXPORT_SYMBOL_GPL(ata_port_start); | |||
6108 | EXPORT_SYMBOL_GPL(ata_do_set_mode); | 6099 | EXPORT_SYMBOL_GPL(ata_do_set_mode); |
6109 | EXPORT_SYMBOL_GPL(ata_std_qc_defer); | 6100 | EXPORT_SYMBOL_GPL(ata_std_qc_defer); |
6110 | EXPORT_SYMBOL_GPL(ata_noop_qc_prep); | 6101 | EXPORT_SYMBOL_GPL(ata_noop_qc_prep); |
6111 | EXPORT_SYMBOL_GPL(ata_noop_irq_clear); | ||
6112 | EXPORT_SYMBOL_GPL(ata_port_probe); | 6102 | EXPORT_SYMBOL_GPL(ata_port_probe); |
6113 | EXPORT_SYMBOL_GPL(ata_dev_disable); | 6103 | EXPORT_SYMBOL_GPL(ata_dev_disable); |
6114 | EXPORT_SYMBOL_GPL(sata_set_spd); | 6104 | EXPORT_SYMBOL_GPL(sata_set_spd); |
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c index 04024a556660..c11601617134 100644 --- a/drivers/ata/libata-sff.c +++ b/drivers/ata/libata-sff.c | |||
@@ -58,6 +58,7 @@ const struct ata_port_operations ata_sff_port_ops = { | |||
58 | .sff_exec_command = ata_sff_exec_command, | 58 | .sff_exec_command = ata_sff_exec_command, |
59 | .sff_data_xfer = ata_sff_data_xfer, | 59 | .sff_data_xfer = ata_sff_data_xfer, |
60 | .sff_irq_on = ata_sff_irq_on, | 60 | .sff_irq_on = ata_sff_irq_on, |
61 | .sff_irq_clear = ata_sff_irq_clear, | ||
61 | 62 | ||
62 | .port_start = ata_sff_port_start, | 63 | .port_start = ata_sff_port_start, |
63 | }; | 64 | }; |
@@ -71,7 +72,6 @@ const struct ata_port_operations ata_bmdma_port_ops = { | |||
71 | .bmdma_start = ata_bmdma_start, | 72 | .bmdma_start = ata_bmdma_start, |
72 | .bmdma_stop = ata_bmdma_stop, | 73 | .bmdma_stop = ata_bmdma_stop, |
73 | .bmdma_status = ata_bmdma_status, | 74 | .bmdma_status = ata_bmdma_status, |
74 | .sff_irq_clear = ata_sff_irq_clear, | ||
75 | }; | 75 | }; |
76 | 76 | ||
77 | /** | 77 | /** |
diff --git a/include/linux/libata.h b/include/linux/libata.h index 584eca19b8f1..603712b59cf3 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -896,7 +896,6 @@ extern void ata_id_string(const u16 *id, unsigned char *s, | |||
896 | unsigned int ofs, unsigned int len); | 896 | unsigned int ofs, unsigned int len); |
897 | extern void ata_id_c_string(const u16 *id, unsigned char *s, | 897 | extern void ata_id_c_string(const u16 *id, unsigned char *s, |
898 | unsigned int ofs, unsigned int len); | 898 | unsigned int ofs, unsigned int len); |
899 | extern void ata_noop_irq_clear(struct ata_port *ap); | ||
900 | extern void ata_qc_complete(struct ata_queued_cmd *qc); | 899 | extern void ata_qc_complete(struct ata_queued_cmd *qc); |
901 | extern int ata_qc_complete_multiple(struct ata_port *ap, u32 qc_active, | 900 | extern int ata_qc_complete_multiple(struct ata_port *ap, u32 qc_active, |
902 | void (*finish_qc)(struct ata_queued_cmd *)); | 901 | void (*finish_qc)(struct ata_queued_cmd *)); |