diff options
Diffstat (limited to 'drivers/ide/ide-floppy.c')
-rw-r--r-- | drivers/ide/ide-floppy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index 7b94c7aff256..2a37a08ddd57 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c | |||
@@ -772,9 +772,8 @@ static void idefloppy_retry_pc (ide_drive_t *drive) | |||
772 | { | 772 | { |
773 | idefloppy_pc_t *pc; | 773 | idefloppy_pc_t *pc; |
774 | struct request *rq; | 774 | struct request *rq; |
775 | atapi_error_t error; | ||
776 | 775 | ||
777 | error.all = HWIF(drive)->INB(IDE_ERROR_REG); | 776 | (void)drive->hwif->INB(IDE_ERROR_REG); |
778 | pc = idefloppy_next_pc_storage(drive); | 777 | pc = idefloppy_next_pc_storage(drive); |
779 | rq = idefloppy_next_rq_storage(drive); | 778 | rq = idefloppy_next_rq_storage(drive); |
780 | idefloppy_create_request_sense_cmd(pc); | 779 | idefloppy_create_request_sense_cmd(pc); |