skd: Remove skd_device.in_flight
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 17 Aug 2017 20:13:34 +0000 (13:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Aug 2017 14:45:29 +0000 (08:45 -0600)
commitd4d0f5fc3aee41b61fdef6e059ae803921c345cb
tree70d04600b2e03d3b84c88fa9c7fba6333c058ee1
parenta74d5b76fab971081187f446683121a08e06944e
skd: Remove skd_device.in_flight

Since skd_device.in_flight is only used to display the number of
in-flight requests in debug messages, remove that member and
introduce skd_in_flight(). That last function relies on the block
layer to determine the number of in flight requests.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c