diff options
| author | Nilay Shroff <nilay@linux.ibm.com> | 2026-07-13 17:24:07 +0530 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-07-28 10:37:14 -0700 |
| commit | 499d05d5d10eb381eac87a83626e7141a5823a09 (patch) | |
| tree | b331769c2ff506627931969b9d7dab1774278af1 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 86f9536c2d8f4496f1e45cb0a70ca1b3a7d89106 (diff) | |
nvme: remove redundant initialization of nvme_ns_head::requeue_list
bio_list_init() is a no-op for zero-initialized objects. Remove the
redundant initialization of nvme_ns_head::requeue_list from
nvme_mpath_alloc_disk().
Besides simplifying the code, this also avoids a false positive from
Clang's context analysis once nvme_ns_head::requeue_list is annotated
with __guarded_by(&requeue_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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
