aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2025-09-23 09:52:48 -0600
committerJens Axboe <axboe@kernel.dk>2025-09-24 05:48:05 -0600
commitf85e254b51aeadf8dc367aaf2fbd2c20378f75c2 (patch)
treef36db2ca4a29df3a6c24f81fbf1d11dccf1a2e22 /drivers/usb/cdns3/cdns3-pci-wrap.c
parentMerge tag 'nvme-6.18-2025-09-23' of git://git.infradead.org/nvme into for-6.18/block (diff)
downloadlinux-rng-f85e254b51aeadf8dc367aaf2fbd2c20378f75c2.tar.xz
linux-rng-f85e254b51aeadf8dc367aaf2fbd2c20378f75c2.zip
ublk: remove redundant zone op check in ublk_setup_iod()
ublk_setup_iod() checks first whether the request is a zoned operation issued to a device without zoned support and returns BLK_STS_IOERR if so. However, such a request would already hit the default case in the subsequent switch statement and fail the ublk_queue_is_zoned() check, which also results in a return of BLK_STS_IOERR. So remove the redundant early check for unsupported zone ops. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions