summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-tape.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-04-19 08:46:03 +0900
committerJens Axboe <jens.axboe@oracle.com>2009-04-28 07:37:32 +0200
commit29d1a4371035e01b0d079bc5aa88b50f5af7a566 (patch)
tree4aad5a0868e1929f0ced33ffde34b334760c0522 /drivers/ide/ide-tape.c
parent4344d07fb8dbf0cbfec1f7d7c1afeccaceaaa120 (diff)
downloadop-kernel-dev-29d1a4371035e01b0d079bc5aa88b50f5af7a566.zip
op-kernel-dev-29d1a4371035e01b0d079bc5aa88b50f5af7a566.tar.gz
ide-atapi: kill unused fields and callbacks
Impact: remove fields and code paths which are no longer necessary Now that ide-tape uses standard mechanisms to transfer data, special case handling for bh handling can be dropped from ide-atapi. Drop the followings. * pc->cur_pos, b_count, bh and b_data * drive->pc_update_buffers() and pc_io_buffers(). Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ide/ide-tape.c')
-rw-r--r--drivers/ide/ide-tape.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c
index 2599579..8dfc688 100644
--- a/drivers/ide/ide-tape.c
+++ b/drivers/ide/ide-tape.c
@@ -591,7 +591,6 @@ static void ide_tape_create_rw_cmd(idetape_tape_t *tape,
ide_init_pc(pc);
put_unaligned(cpu_to_be32(length), (unsigned int *) &pc->c[1]);
pc->c[1] = 1;
- pc->bh = NULL;
pc->buf = NULL;
pc->buf_size = length * tape->blk_size;
pc->req_xfer = pc->buf_size;
OpenPOWER on IntegriCloud