aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Axboe2006-12-01 03:42:33 -0600
committerJens Axboe2006-12-01 03:42:33 -0600
commitbb37b94c68e7b37eecea8576039ae9396ca07839 (patch)
tree0b5dcbb3abb7710789d401126431f6f4dfe89e3a /block/noop-iosched.c
parent0e75f9063f5c55fb0b0b546a7c356f8ec186825e (diff)
downloadkernel-common-bb37b94c68e7b37eecea8576039ae9396ca07839.tar.gz
kernel-common-bb37b94c68e7b37eecea8576039ae9396ca07839.tar.xz
kernel-common-bb37b94c68e7b37eecea8576039ae9396ca07839.zip
[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 <jens.axboe@oracle.com>
Diffstat (limited to 'block/noop-iosched.c')
-rw-r--r--block/noop-iosched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/noop-iosched.c b/block/noop-iosched.c
index 79af4317942..1c3de2b9a6b 100644
--- a/block/noop-iosched.c
+++ b/block/noop-iosched.c
@@ -65,7 +65,7 @@ noop_latter_request(request_queue_t *q, struct request *rq)
65 return list_entry(rq->queuelist.next, struct request, queuelist); 65 return list_entry(rq->queuelist.next, struct request, queuelist);
66} 66}
67 67
68static void *noop_init_queue(request_queue_t *q, elevator_t *e) 68static void *noop_init_queue(request_queue_t *q)
69{ 69{
70 struct noop_data *nd; 70 struct noop_data *nd;
71 71