Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jaehoon Chung and committed by
Jens Axboe
e32463b2 b1f3b64d

-2
-2
block/blk-core.c
··· 713 713 if (elevator_init(q, NULL)) 714 714 return NULL; 715 715 716 - blk_queue_congestion_threshold(q); 717 - 718 716 /* all done, end the initial bypass */ 719 717 blk_queue_bypass_end(q); 720 718 return q;