diff options
Diffstat (limited to 'block/cfq-iosched.c')
-rw-r--r-- | block/cfq-iosched.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index 9697053f80bc..c826ef81c679 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c | |||
@@ -500,13 +500,6 @@ static inline void cfq_schedule_dispatch(struct cfq_data *cfqd) | |||
500 | } | 500 | } |
501 | } | 501 | } |
502 | 502 | ||
503 | static int cfq_queue_empty(struct request_queue *q) | ||
504 | { | ||
505 | struct cfq_data *cfqd = q->elevator->elevator_data; | ||
506 | |||
507 | return !cfqd->rq_queued; | ||
508 | } | ||
509 | |||
510 | /* | 503 | /* |
511 | * Scale schedule slice based on io priority. Use the sync time slice only | 504 | * Scale schedule slice based on io priority. Use the sync time slice only |
512 | * if a queue is marked sync and has sync io queued. A sync queue with async | 505 | * if a queue is marked sync and has sync io queued. A sync queue with async |
@@ -4080,7 +4073,6 @@ static struct elevator_type iosched_cfq = { | |||
4080 | .elevator_add_req_fn = cfq_insert_request, | 4073 | .elevator_add_req_fn = cfq_insert_request, |
4081 | .elevator_activate_req_fn = cfq_activate_request, | 4074 | .elevator_activate_req_fn = cfq_activate_request, |
4082 | .elevator_deactivate_req_fn = cfq_deactivate_request, | 4075 | .elevator_deactivate_req_fn = cfq_deactivate_request, |
4083 | .elevator_queue_empty_fn = cfq_queue_empty, | ||
4084 | .elevator_completed_req_fn = cfq_completed_request, | 4076 | .elevator_completed_req_fn = cfq_completed_request, |
4085 | .elevator_former_req_fn = elv_rb_former_request, | 4077 | .elevator_former_req_fn = elv_rb_former_request, |
4086 | .elevator_latter_req_fn = elv_rb_latter_request, | 4078 | .elevator_latter_req_fn = elv_rb_latter_request, |