blk-mq: Reduce the number of if-statements in blk_mq_mark_tag_wait()
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 10 Jan 2018 21:41:21 +0000 (13:41 -0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 11 Jan 2018 16:59:35 +0000 (09:59 -0700)
commitc27d53fb445f2d93a1918c3dd7344770b0cd865b
tree0eb75d9a32eafd8879c25c673c5d8543e7524b1e
parent33f782c49a95aac0c88203b29e4e276c2b12dad6
blk-mq: Reduce the number of if-statements in blk_mq_mark_tag_wait()

This patch does not change any functionality but makes the
blk_mq_mark_tag_wait() code slightly easier to read.

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