Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a21f2a3e authored by Michael Callahan's avatar Michael Callahan Committed by Jens Axboe
Browse files

block: Minor blk_account_io_start usage cleanup



blk_account_io_start does not need to be wrapped with blk_do_io_stat
ais it already checks for that condition.

Signed-off-by: default avatarMichael Callahan <michaelcallahan@fb.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 38f25255
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -1122,7 +1122,6 @@ static void blk_mq_bio_to_request(struct request *rq, struct bio *bio)
{
{
	init_request_from_bio(rq, bio);
	init_request_from_bio(rq, bio);


	if (blk_do_io_stat(rq))
	blk_account_io_start(rq, 1);
	blk_account_io_start(rq, 1);
}
}