]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] remove blk_queue_activity_fn
authorBoaz Harrosh <bharrosh@panasas.com>
Tue, 5 Dec 2006 09:19:14 +0000 (10:19 +0100)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Tue, 12 Dec 2006 09:22:23 +0000 (10:22 +0100)
commitd670a070ff97c58454f349913100d2c2c02ac485
treea996a02cd8d028fd53223bd17ae8793185d94702
parent48d4b366c4a96ad721d25a99167794748eb987ca
[PATCH] remove blk_queue_activity_fn

While working on bidi support at struct request level
I have found that blk_queue_activity_fn is actually never used.
The only user is in ide-probe.c with this code:

/* enable led activity for disk drives only */
if (drive->media == ide_disk && hwif->led_act)
blk_queue_activity_fn(q, hwif->led_act, drive);

And led_act is never initialized anywhere.
(Looking back at older kernels it was used in the PPC arch, but was removed around 2.6.18)
Unless it is all for future use off course.
(this patch is against linux-2.6-block.git as off 2006/12/4)

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/ll_rw_blk.c
drivers/ide/ide-probe.c
include/linux/blkdev.h
include/linux/ide.h