diff options
author | Tejun Heo <tj@kernel.org> | 2009-04-19 08:46:03 +0900 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-04-19 08:46:03 +0900 |
commit | 6d7003877c2f0578f1c08f66d05c3f72ef4ae596 (patch) | |
tree | 81e2ba44a3b12c1b946adc8a9453506a52405976 /drivers/ide/ide-tape.c | |
parent | 07bd9686c50c2b1f10e48089d4fb836a971f5177 (diff) | |
download | kernel_samsung_smdk4412-6d7003877c2f0578f1c08f66d05c3f72ef4ae596.zip kernel_samsung_smdk4412-6d7003877c2f0578f1c08f66d05c3f72ef4ae596.tar.gz kernel_samsung_smdk4412-6d7003877c2f0578f1c08f66d05c3f72ef4ae596.tar.bz2 |
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.c | 1 |
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; |