diff options
author | Tejun Heo <htejun@gmail.com> | 2008-03-25 08:36:06 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-17 15:44:21 -0400 |
commit | fc4712d12e332a46f200b9ba641855182df282c0 (patch) | |
tree | 366e46c30457f95823f1805f3b081f4a30273995 /drivers/ata/pdc_adma.c | |
parent | b0316b15ace0570c87b74c81f1296cf7bf8d459e (diff) |
pdc_adma: kill adma_host_stop()
adma_host_stop() does the same thing that adma_port_stop() does. Kill
it.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Mark Lord <liml@rtr.ca>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pdc_adma.c')
-rw-r--r-- | drivers/ata/pdc_adma.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/ata/pdc_adma.c b/drivers/ata/pdc_adma.c index 6a4654e309a5..c431bf36f9ba 100644 --- a/drivers/ata/pdc_adma.c +++ b/drivers/ata/pdc_adma.c | |||
@@ -131,7 +131,6 @@ struct adma_port_priv { | |||
131 | static int adma_ata_init_one(struct pci_dev *pdev, | 131 | static int adma_ata_init_one(struct pci_dev *pdev, |
132 | const struct pci_device_id *ent); | 132 | const struct pci_device_id *ent); |
133 | static int adma_port_start(struct ata_port *ap); | 133 | static int adma_port_start(struct ata_port *ap); |
134 | static void adma_host_stop(struct ata_host *host); | ||
135 | static void adma_port_stop(struct ata_port *ap); | 134 | static void adma_port_stop(struct ata_port *ap); |
136 | static void adma_qc_prep(struct ata_queued_cmd *qc); | 135 | static void adma_qc_prep(struct ata_queued_cmd *qc); |
137 | static unsigned int adma_qc_issue(struct ata_queued_cmd *qc); | 136 | static unsigned int adma_qc_issue(struct ata_queued_cmd *qc); |
@@ -159,7 +158,6 @@ static struct ata_port_operations adma_ata_ops = { | |||
159 | 158 | ||
160 | .port_start = adma_port_start, | 159 | .port_start = adma_port_start, |
161 | .port_stop = adma_port_stop, | 160 | .port_stop = adma_port_stop, |
162 | .host_stop = adma_host_stop, | ||
163 | }; | 161 | }; |
164 | 162 | ||
165 | static struct ata_port_info adma_port_info[] = { | 163 | static struct ata_port_info adma_port_info[] = { |
@@ -591,14 +589,6 @@ static void adma_port_stop(struct ata_port *ap) | |||
591 | adma_reset_engine(ap); | 589 | adma_reset_engine(ap); |
592 | } | 590 | } |
593 | 591 | ||
594 | static void adma_host_stop(struct ata_host *host) | ||
595 | { | ||
596 | unsigned int port_no; | ||
597 | |||
598 | for (port_no = 0; port_no < ADMA_PORTS; ++port_no) | ||
599 | adma_reset_engine(host->ports[port_no]); | ||
600 | } | ||
601 | |||
602 | static void adma_host_init(struct ata_host *host, unsigned int chip_id) | 592 | static void adma_host_init(struct ata_host *host, unsigned int chip_id) |
603 | { | 593 | { |
604 | unsigned int port_no; | 594 | unsigned int port_no; |