summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGuixin Liu <kanie@linux.alibaba.com>2026-11-06 10:27:31 +0800
committerKeith Busch <kbusch@kernel.org>2026-11-06 07:48:20 -0800
commitc621d47b7a454a105e7b873d61cd69dcf84d0451 (patch)
tree5478037426f5c8441eae55d8e6d89f63d629a099 /tools/perf/scripts/python
parent6e31e030e2004b94f663f7a8bef54e4db79d6db6 (diff)
nvme-fabrics: remove dead hostnqn already-assigned check
The opts->host check in the NVMF_OPT_HOSTNQN handler can never fire: options are parsed into a freshly allocated struct, and opts->host is only assigned after the parsing loop completes. A duplicate hostnqn option is already silently overridden by the strscpy() into the local buffer. Remove the dead check. Signed-off-by: Guixin Liu <kanie@linux.alibaba.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Nilay Shroff <nilay@linux.ibm.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions