diff options
author | Christoph Hellwig | 2022-05-04 07:29:49 -0700 |
---|---|---|
committer | Jens Axboe | 2022-05-04 18:29:52 -0600 |
commit | 513616843d736fb7161b4460cdfe5aa825c5902c (patch) | |
tree | 8081ebe033df5237f6f4d59dd4d835605c9fd18c /block/bounce.c | |
parent | f624506f98b198e65b44da303f44974590fb16c0 (diff) |
block: remove superfluous calls to blkcg_bio_issue_init
blkcg_bio_issue_init is called in submit_bio. There is no need to have
extra calls that just get overriden in __bio_clone and the two places
that copy and pasted from it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Snitzer <snitzer@kernel.org>
Link: https://lore.kernel.org/r/20220504142950.567582-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bounce.c')
-rw-r--r-- | block/bounce.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/bounce.c b/block/bounce.c index 467be46d0e65..8f7b6fe3b4db 100644 --- a/block/bounce.c +++ b/block/bounce.c @@ -191,7 +191,6 @@ static struct bio *bounce_clone_bio(struct bio *bio_src) goto err_put; bio_clone_blkg_association(bio, bio_src); - blkcg_bio_issue_init(bio); return bio; |