]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: remove raise_blk_irq
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Jun 2020 06:44:43 +0000 (08:44 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 24 Jun 2020 15:15:57 +0000 (09:15 -0600)
commit72c11ed1b4f0a3e9f144210fdf817a224c50bf67
treed9c56f610fa3d1e51d966969b89eb842291e55e4
parent80657c5639df06e4fbd9e75fec76a6c9d5d5dee2
blk-mq: remove raise_blk_irq

By open coding raise_blk_irq in the only caller, and replacing the
ifdef CONFIG_SMP with an IS_ENABLED check the flow in the caller
can be significantly simplified.

Reviewed-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c