mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[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 <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
4259cb25d4
commit
2b02a17920
4 changed files with 0 additions and 23 deletions
|
|
@ -1000,10 +1000,6 @@ static int ide_init_queue(ide_drive_t *drive)
|
|||
/* needs drive->queue to be set */
|
||||
ide_toggle_bounce(drive, 1);
|
||||
|
||||
/* enable led activity for disk drives only */
|
||||
if (drive->media == ide_disk && hwif->led_act)
|
||||
blk_queue_activity_fn(q, hwif->led_act, drive);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue