aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaehoon Chung2012-08-31 03:24:13 -0500
committerJens Axboe2012-09-09 05:44:10 -0500
commite32463b2f7801d6561887c01db37b34958504635 (patch)
tree1c54f4bca7ec3f80e01cbc3490240212bd28ffcc /block/blk-core.c
parentb1f3b64d76cf88cc250e5cdd1de783ba9737078e (diff)
downloadkernel-common-e32463b2f7801d6561887c01db37b34958504635.tar.gz
kernel-common-e32463b2f7801d6561887c01db37b34958504635.tar.xz
kernel-common-e32463b2f7801d6561887c01db37b34958504635.zip
block: remove the duplicated setting for congestion_threshold
Before call the blk_queue_congestion_threshold(), the blk_queue_congestion_threshold() is already called at blk_queue_make_rquest(). Because this code is the duplicated, it has removed. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r--block/blk-core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 82aab281585..2d739ca1092 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -713,8 +713,6 @@ blk_init_allocated_queue(struct request_queue *q, request_fn_proc *rfn,
713 if (elevator_init(q, NULL)) 713 if (elevator_init(q, NULL))
714 return NULL; 714 return NULL;
715 715
716 blk_queue_congestion_threshold(q);
717
718 /* all done, end the initial bypass */ 716 /* all done, end the initial bypass */
719 blk_queue_bypass_end(q); 717 blk_queue_bypass_end(q);
720 return q; 718 return q;