Commit 5d1853d5 authored by Pankaj Raghav's avatar Pankaj Raghav Committed by Treehugger Robot
Browse files

FROMLIST: block: remove superfluous check for request queue in bdev_is_zoned()



Remove the superfluous request queue check in bdev_is_zoned() as
bdev_get_queue() can never return NULL.

Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarDamien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Reviewed-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: default avatarJohannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: default avatarPankaj Raghav <p.raghav@samsung.com>
Bug: 197782466
Bug: 269471019
Link: https://lore.kernel.org/linux-block/20230110143635.77300-2-p.raghav@samsung.com/


Change-Id: I016ba8e1462d97f9b9a25e5f12371854294511fb
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
parent 19ce16cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment