]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ide-atapi: kill unused fields and callbacks
authorTejun Heo <tj@kernel.org>
Sat, 18 Apr 2009 23:46:03 +0000 (08:46 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 28 Apr 2009 05:37:32 +0000 (07:37 +0200)
commit29d1a4371035e01b0d079bc5aa88b50f5af7a566
tree4aad5a0868e1929f0ced33ffde34b334760c0522
parent4344d07fb8dbf0cbfec1f7d7c1afeccaceaaa120
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>
drivers/ide/ide-atapi.c
drivers/ide/ide-tape.c
include/linux/ide.h