diff options
author | Tejun Heo <htejun@gmail.com> | 2008-03-25 09:16:44 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-17 15:44:18 -0400 |
commit | 6fd36390117f7844ad147377878ddb52088f583a (patch) | |
tree | c25d9a8357ff173ce46eb057cc50370b87b9cca8 /drivers/ata/sata_via.c | |
parent | 3d5a3d67a578d95ac3a11a862d16a054e2d4d9cd (diff) |
libata: kill ata_chk_status()
ata_chk_status() just calls ops->check_status and it only adds
confusion with other status functions. Kill it.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_via.c')
-rw-r--r-- | drivers/ata/sata_via.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_via.c b/drivers/ata/sata_via.c index 402fd7333d48..4bc6e849af2c 100644 --- a/drivers/ata/sata_via.c +++ b/drivers/ata/sata_via.c | |||
@@ -173,7 +173,7 @@ static void svia_noop_freeze(struct ata_port *ap) | |||
173 | /* Some VIA controllers choke if ATA_NIEN is manipulated in | 173 | /* Some VIA controllers choke if ATA_NIEN is manipulated in |
174 | * certain way. Leave it alone and just clear pending IRQ. | 174 | * certain way. Leave it alone and just clear pending IRQ. |
175 | */ | 175 | */ |
176 | ata_chk_status(ap); | 176 | ap->ops->check_status(ap); |
177 | ata_bmdma_irq_clear(ap); | 177 | ata_bmdma_irq_clear(ap); |
178 | } | 178 | } |
179 | 179 | ||