diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/ide-scsi.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/scsi/ide-scsi.c b/drivers/scsi/ide-scsi.c index 683bce375c74..f843c1383a4b 100644 --- a/drivers/scsi/ide-scsi.c +++ b/drivers/scsi/ide-scsi.c | |||
@@ -258,19 +258,6 @@ idescsi_atapi_error(ide_drive_t *drive, struct request *rq, u8 stat, u8 err) | |||
258 | return ide_stopped; | 258 | return ide_stopped; |
259 | } | 259 | } |
260 | 260 | ||
261 | static ide_startstop_t | ||
262 | idescsi_atapi_abort(ide_drive_t *drive, struct request *rq) | ||
263 | { | ||
264 | debug_log("%s called for %lu\n", __func__, | ||
265 | ((struct ide_atapi_pc *) rq->special)->scsi_cmd->serial_number); | ||
266 | |||
267 | rq->errors |= ERROR_MAX; | ||
268 | |||
269 | idescsi_end_request(drive, 0, 0); | ||
270 | |||
271 | return ide_stopped; | ||
272 | } | ||
273 | |||
274 | static int idescsi_end_request (ide_drive_t *drive, int uptodate, int nrsecs) | 261 | static int idescsi_end_request (ide_drive_t *drive, int uptodate, int nrsecs) |
275 | { | 262 | { |
276 | idescsi_scsi_t *scsi = drive_to_idescsi(drive); | 263 | idescsi_scsi_t *scsi = drive_to_idescsi(drive); |
@@ -524,7 +511,6 @@ static ide_driver_t idescsi_driver = { | |||
524 | .do_request = idescsi_do_request, | 511 | .do_request = idescsi_do_request, |
525 | .end_request = idescsi_end_request, | 512 | .end_request = idescsi_end_request, |
526 | .error = idescsi_atapi_error, | 513 | .error = idescsi_atapi_error, |
527 | .abort = idescsi_atapi_abort, | ||
528 | #ifdef CONFIG_IDE_PROC_FS | 514 | #ifdef CONFIG_IDE_PROC_FS |
529 | .proc = idescsi_proc, | 515 | .proc = idescsi_proc, |
530 | #endif | 516 | #endif |