summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorAlok Tiwari <alok.a.tiwari@oracle.com>2025-06-24 21:16:32 -0700
committerChristoph Hellwig <hch@lst.de>2025-07-17 13:38:07 +0200
commit2e7dd5c1a8ae9532530474e13dec3371b3db4ee0 (patch)
treed46cfb370c5c418dd3ce549535b6a3133ad89417 /scripts/lib/kdoc/kdoc_re.py
parent3b1eabed272e99bf0291260ed0947ed29e017193 (diff)
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 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions