diff options
Diffstat (limited to 'drivers/block/swim3.c')
-rw-r--r-- | drivers/block/swim3.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c index f48c6dd47e04..80df93e3cdd0 100644 --- a/drivers/block/swim3.c +++ b/drivers/block/swim3.c | |||
@@ -326,10 +326,9 @@ static void start_request(struct floppy_state *fs) | |||
326 | } | 326 | } |
327 | while (fs->state == idle) { | 327 | while (fs->state == idle) { |
328 | if (!fd_req) { | 328 | if (!fd_req) { |
329 | fd_req = elv_next_request(swim3_queue); | 329 | fd_req = blk_fetch_request(swim3_queue); |
330 | if (!fd_req) | 330 | if (!fd_req) |
331 | break; | 331 | break; |
332 | blkdev_dequeue_request(fd_req); | ||
333 | } | 332 | } |
334 | req = fd_req; | 333 | req = fd_req; |
335 | #if 0 | 334 | #if 0 |