block: don't call should_fail_request() for !CONFIG_FAIL_MAKE_REQUEST
authorJens Axboe <axboe@kernel.dk>
Sat, 18 Sep 2021 13:29:24 +0000 (07:29 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 18 Sep 2021 13:29:24 +0000 (07:29 -0600)
commit42f0579b08cb17e1ad6221a895c45c7cc9c5d8be
tree77576c159833a3b4bd615bbb6436277af216534b
parentddf21bd8ab984ccaa924f090fc7f515bb6d51414
block: don't call should_fail_request() for !CONFIG_FAIL_MAKE_REQUEST

Unnecessary function call, if we don't have that specific configuration
option enabled.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c