summaryrefslogtreecommitdiffstats
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-11-14 17:02:04 +0100
committerJens Axboe <axboe@kernel.dk>2018-11-15 12:13:15 -0700
commit8f4236d9008b0973a8281256ccfde6913cdec6cb (patch)
treedf22388e2396b014899b7db04d0e08c303adb1da /block/blk-throttle.c
parente96c0d8336fdc5f1a6cae798bfa9c6e730001ad4 (diff)
downloadlinux-8f4236d9008b0973a8281256ccfde6913cdec6cb.tar.bz2
block: remove QUEUE_FLAG_BYPASS and ->bypass
Unused since the removal of the legacy request code. Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-throttle.c')
-rw-r--r--block/blk-throttle.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/block/blk-throttle.c b/block/blk-throttle.c
index db1a3a2ae006..8e6f3c9821c2 100644
--- a/block/blk-throttle.c
+++ b/block/blk-throttle.c
@@ -2145,9 +2145,6 @@ bool blk_throtl_bio(struct request_queue *q, struct blkcg_gq *blkg,
throtl_update_latency_buckets(td);
- if (unlikely(blk_queue_bypass(q)))
- goto out_unlock;
-
blk_throtl_assoc_bio(tg, bio);
blk_throtl_update_idletime(tg);