diff options
Diffstat (limited to 'drivers/ide/ide-tape.c')
-rw-r--r-- | drivers/ide/ide-tape.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index 35469f3069a2..fc61bbef3bb9 100644 --- a/drivers/ide/ide-tape.c +++ b/drivers/ide/ide-tape.c | |||
@@ -461,22 +461,6 @@ static void ide_tape_kfree_buffer(idetape_tape_t *tape) | |||
461 | } | 461 | } |
462 | } | 462 | } |
463 | 463 | ||
464 | static int idetape_end_request(ide_drive_t *drive, int uptodate, int nr_sects) | ||
465 | { | ||
466 | struct request *rq = drive->hwif->rq; | ||
467 | |||
468 | debug_log(DBG_PROCS, "Enter %s\n", __func__); | ||
469 | |||
470 | rq->errors = uptodate ? 0 : IDE_DRV_ERROR_GENERAL; | ||
471 | |||
472 | if (uptodate == 0) | ||
473 | drive->failed_pc = NULL; | ||
474 | |||
475 | ide_complete_rq(drive, 0); | ||
476 | |||
477 | return 0; | ||
478 | } | ||
479 | |||
480 | static void ide_tape_handle_dsc(ide_drive_t *); | 464 | static void ide_tape_handle_dsc(ide_drive_t *); |
481 | 465 | ||
482 | static void ide_tape_callback(ide_drive_t *drive, int dsc) | 466 | static void ide_tape_callback(ide_drive_t *drive, int dsc) |
@@ -2306,7 +2290,6 @@ static struct ide_driver idetape_driver = { | |||
2306 | .remove = ide_tape_remove, | 2290 | .remove = ide_tape_remove, |
2307 | .version = IDETAPE_VERSION, | 2291 | .version = IDETAPE_VERSION, |
2308 | .do_request = idetape_do_request, | 2292 | .do_request = idetape_do_request, |
2309 | .end_request = idetape_end_request, | ||
2310 | #ifdef CONFIG_IDE_PROC_FS | 2293 | #ifdef CONFIG_IDE_PROC_FS |
2311 | .proc_entries = ide_tape_proc_entries, | 2294 | .proc_entries = ide_tape_proc_entries, |
2312 | .proc_devsets = ide_tape_proc_devsets, | 2295 | .proc_devsets = ide_tape_proc_devsets, |