diff options
| author | Nilay Shroff <nilay@linux.ibm.com> | 2026-07-13 17:24:11 +0530 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-07-28 10:37:28 -0700 |
| commit | 9c65eeeb26b1d614787deec36faec81e45b8f8e8 (patch) | |
| tree | 21857213a7c6c3fb4baf5ecc2cdc20d4144bab21 /tools/perf/scripts/python | |
| parent | 4258bf237e7f26cbbd44c9dada11b87cda18041c (diff) | |
nvme: remove redundant initialization of delayed_removal_secs
nvme_ns_head is allocated with kzalloc(), so explicitly initializing
nvme_ns_head::delayed_removal_secs to 0 in nvme_mpath_alloc_disk() is
redundant.
Removing the redundant initialization also avoids a false positive from
Clang's context analysis once nvme_ns_head::delayed_removal_secs is
annotated with __guarded_by(nvme_subsystem::lock).
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-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
