block: merge part_{inc,dev}_in_flight into their only callers
authorChristoph Hellwig <hch@lst.de>
Wed, 13 May 2020 10:49:35 +0000 (12:49 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 May 2020 15:35:24 +0000 (09:35 -0600)
commit10ec5e86f9b840b7070b9146257a199dd0227d7e
tree55ffa87fe03b464d8f1e1dbdc2e27d5006815b25
parent76268f3ac0a69e76270af5f67ab239ccd796ae56
block: merge part_{inc,dev}_in_flight into their only callers

part_inc_in_flight and part_dec_in_flight only have one caller each, and
those callers are purely for bio based drivers.  Merge each function into
the only caller, and remove the superflous blk-mq checks.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c
block/blk.h
block/genhd.c