• Tejun Heo's avatar
    ide-floppy: block pc always uses bio · 8968932e
    Tejun Heo authored
    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
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Jens Axboe <axboe@kernel.dk>
ide-floppy.c 14.5 KB