ide: remove try_to_flush_leftover_data()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 15 Jul 2008 19:21:47 +0000 (21:21 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 15 Jul 2008 19:21:47 +0000 (21:21 +0200)
commit57279a7a401eed844ded4346c5ff512e622ac1de
treec4fee3921d8d33ba5050bad66e3b5f692d75f48f
parent931ee0dc5c69e8113233d21942681ab8fecde7f9
ide: remove try_to_flush_leftover_data()

Just use the new & shiny ide_pad_transfer() helper instead.

Also remove the superfluous check for 'drive->media == ide_disk'
while at it (ide_ata_error() is used only for ide_disk devices).

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-io.c