diff options
| author | Guixin Liu <kanie@linux.alibaba.com> | 2026-11-06 10:27:31 +0800 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-11-06 07:48:20 -0800 |
| commit | c621d47b7a454a105e7b873d61cd69dcf84d0451 (patch) | |
| tree | 5478037426f5c8441eae55d8e6d89f63d629a099 /tools/perf/scripts/python | |
| parent | 6e31e030e2004b94f663f7a8bef54e4db79d6db6 (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
