ide-floppy: block pc always uses bio
authorTejun Heo <tj@kernel.org>
Sat, 18 Apr 2009 22:00:42 +0000 (07:00 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 28 Apr 2009 05:37:29 +0000 (07:37 +0200)
commit8968932e54db35cf9d69cfbbd50c26dfaaa586c7
tree3ed9e5441de92603ad60755b7f0a6129eef17c7d
parent59a4f6f355fc718581ddcf1bb45a469d4756c035
ide-floppy: block pc always uses bio

Impact: remove unnecessary code path

Block pc requests always use bio and rq->data is always NULL.  No need
to worry about !rq->bio cases in idefloppy_block_pc_cmd().  Note that
ide-atapi uses ide_pio_bytes() for bio PIO transfer which handle sg
fine.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
drivers/ide/ide-floppy.c