OSDN Git Service

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)
commitdea6f3993812c82b4dd5f61acd41c55a311a445f
treed9c56f610fa3d1e51d966969b89eb842291e55e4
parent115243f5534c7b3980cc946e00f79740fdc0e068
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