block: remove the duplicated setting for congestion_threshold
authorJaehoon Chung <jh80.chung@samsung.com>
Fri, 31 Aug 2012 08:24:13 +0000 (17:24 +0900)
committerJens Axboe <axboe@kernel.dk>
Sun, 9 Sep 2012 10:44:10 +0000 (12:44 +0200)
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>
block/blk-core.c

index 82aab28158581e41632607dfd5c021acf73ce6b1..2d739ca109238dd6e50e8a3e59d97ff48efc687d 100644 (file)
@@ -713,8 +713,6 @@ blk_init_allocated_queue(struct request_queue *q, request_fn_proc *rfn,
        if (elevator_init(q, NULL))
                return NULL;
 
-       blk_queue_congestion_threshold(q);
-
        /* all done, end the initial bypass */
        blk_queue_bypass_end(q);
        return q;