mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[BLOCK] Cleanup unused variable passing
- ->init_queue() does not need the elevator passed in - ->put_request() is a hot path and need not have the queue passed in - cfq_update_io_seektime() does not need cfqd passed in Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
0e75f9063f
commit
bb37b94c68
6 changed files with 11 additions and 12 deletions
|
|
@ -356,7 +356,7 @@ static void deadline_exit_queue(elevator_t *e)
|
|||
/*
|
||||
* initialize elevator private data (deadline_data).
|
||||
*/
|
||||
static void *deadline_init_queue(request_queue_t *q, elevator_t *e)
|
||||
static void *deadline_init_queue(request_queue_t *q)
|
||||
{
|
||||
struct deadline_data *dd;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue