aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorChaitanya Kulkarni <[email protected]>2022-02-15 03:52:47 -0800
committerJens Axboe <[email protected]>2022-02-15 07:51:46 -0700
commitec9fd2a13d743ae129bd1b5c6edea0d65260ce10 (patch)
tree224894b15d00a5d87f4cfcd4a33d1e5aa689eeda /lib/mpi/mpi-bit.c
parent69591a402d18fd60c8c95b061279f17bf0b78129 (diff)
blk-lib: don't check bdev_get_queue() NULL check
Based on the comment present in the bdev_get_queue() bdev->bd_queue can never be NULL. Remove the NULL check for the local variable q that is set from bdev_get_queue() for discard, write_same, and write_zeroes. Signed-off-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Ming Lei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions