diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-25 16:17:12 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-25 16:17:12 -0500 |
commit | 0e38a66a1e69821ab57a06d5a7b11f0df9275bf4 (patch) | |
tree | e287752203edfe30f3bdc5966eb8f4c91b508c45 /drivers/ide/ide-tape.c | |
parent | 22c525b976778cce5bb6f8fdcc70046168c54b1a (diff) |
ide: remove atapi_error_t (take 2)
Remove atapi_error_t.
While at it:
* replace 'HWIF(drive)' by 'drive->hwif'
v2:
* Add {ILI,EOM,LFS}_ERR defines to <linux/hdreg.h>.
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-tape.c')
-rw-r--r-- | drivers/ide/ide-tape.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index c91039505436..2c03f469f06e 100644 --- a/drivers/ide/ide-tape.c +++ b/drivers/ide/ide-tape.c | |||
@@ -1808,9 +1808,8 @@ static ide_startstop_t idetape_retry_pc (ide_drive_t *drive) | |||
1808 | idetape_tape_t *tape = drive->driver_data; | 1808 | idetape_tape_t *tape = drive->driver_data; |
1809 | idetape_pc_t *pc; | 1809 | idetape_pc_t *pc; |
1810 | struct request *rq; | 1810 | struct request *rq; |
1811 | atapi_error_t error; | ||
1812 | 1811 | ||
1813 | error.all = HWIF(drive)->INB(IDE_ERROR_REG); | 1812 | (void)drive->hwif->INB(IDE_ERROR_REG); |
1814 | pc = idetape_next_pc_storage(drive); | 1813 | pc = idetape_next_pc_storage(drive); |
1815 | rq = idetape_next_rq_storage(drive); | 1814 | rq = idetape_next_rq_storage(drive); |
1816 | idetape_create_request_sense_cmd(pc); | 1815 | idetape_create_request_sense_cmd(pc); |