block: simplify sb_is_blkdev_sb
authorChristoph Hellwig <hch@lst.de>
Sat, 20 Jun 2020 07:16:40 +0000 (09:16 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 24 Jun 2020 15:08:40 +0000 (09:08 -0600)
commita78b11223acda99b00470c89d5b8989c76fa1c85
treea2bf32f9d8a206fb25e04535300edc2e8b3aa646
parent34bee88ea5368588624f5ead7f65c11937caf561
block: simplify sb_is_blkdev_sb

Just use IS_ENABLED instead of providing a stub for !CONFIG_BLOCK.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/fs.h