aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-settings.c')
-rw-r--r--block/blk-settings.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/block/blk-settings.c b/block/blk-settings.c
index 36c8c1f2af18..df649fa59ded 100644
--- a/block/blk-settings.c
+++ b/block/blk-settings.c
@@ -176,13 +176,6 @@ void blk_queue_make_request(struct request_queue *q, make_request_fn *mfn)
176 blk_queue_max_hw_sectors(q, BLK_SAFE_MAX_SECTORS); 176 blk_queue_max_hw_sectors(q, BLK_SAFE_MAX_SECTORS);
177 177
178 /* 178 /*
179 * If the caller didn't supply a lock, fall back to our embedded
180 * per-queue locks
181 */
182 if (!q->queue_lock)
183 q->queue_lock = &q->__queue_lock;
184
185 /*
186 * by default assume old behaviour and bounce for any highmem page 179 * by default assume old behaviour and bounce for any highmem page
187 */ 180 */
188 blk_queue_bounce_limit(q, BLK_BOUNCE_HIGH); 181 blk_queue_bounce_limit(q, BLK_BOUNCE_HIGH);