summaryrefslogtreecommitdiff
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorAlok Tiwari <alok.a.tiwari@oracle.com>2025-06-25 07:16:32 +0300
committerChristoph Hellwig <hch@lst.de>2025-07-17 14:38:07 +0300
commit2e7dd5c1a8ae9532530474e13dec3371b3db4ee0 (patch)
treed46cfb370c5c418dd3ce549535b6a3133ad89417 /rust/helpers/workqueue.c
parent3b1eabed272e99bf0291260ed0947ed29e017193 (diff)
downloadlinux-2e7dd5c1a8ae9532530474e13dec3371b3db4ee0.tar.xz
nvmet: remove redundant assignment of error code in nvmet_ns_enable()
Remove the unnecessary ret = -EMFILE; assignment since it is immediately overwritten by the result of nvmet_bdev_ns_enable() The initial value (-EMFILE) is redundant because it has no effect on the code logic or outcome. Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions