summaryrefslogtreecommitdiffstats
path: root/block/partitions/core.c
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linux.alibaba.com>2020-07-04 15:28:21 +0800
committerJens Axboe <axboe@kernel.dk>2020-07-10 07:58:33 -0600
commit87890092ee6504a49841d854ff81a71a85c19a5d (patch)
treeea885a16ae908c24fb98545d75936193ea29716a /block/partitions/core.c
parent106e71c51287b9bdf9d400cac657a9af7f0f1e3d (diff)
downloadlinux-stable-87890092ee6504a49841d854ff81a71a85c19a5d.tar.gz
linux-stable-87890092ee6504a49841d854ff81a71a85c19a5d.tar.bz2
linux-stable-87890092ee6504a49841d854ff81a71a85c19a5d.zip
blk-mq: remove redundant validation in __blk_mq_end_request()
We've already validated the 'q->elevator' before calling ->ops.completed_request() in blk_mq_sched_completed_request(), thus no need to validate rq->internal_tag again. Rmove it. Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/partitions/core.c')
0 files changed, 0 insertions, 0 deletions