aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorJuhyung Park <[email protected]>2023-02-03 11:40:29 +0900
committerJens Axboe <[email protected]>2023-02-21 09:23:22 -0700
commit9e0c7efa5ea231d85c0d41693a5115b3b971717c (patch)
treeb851624d2c0502249ad543a7ab1c88c3497c1579 /scripts/gdb/linux
parentd88cbbb39b4db057feb1552de31f22c02a21b36f (diff)
block: remove more NULL checks after bdev_get_queue()
bdev_get_queue() never returns NULL. Several commits [1][2] have been made before to remove such superfluous checks, but some still remained. For places where bdev_get_queue() is called solely for NULL checks, it is removed entirely. [1] commit ec9fd2a13d74 ("blk-lib: don't check bdev_get_queue() NULL check") [2] commit fea127b36c93 ("block: remove superfluous check for request queue in bdev_is_zoned()") Signed-off-by: Juhyung Park <[email protected]> Reviewed-by: Pankaj Raghav <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions