summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorTobias Schumacher <ts@linux.ibm.com>2026-10-09 08:15:54 +0200
committerHeiko Carstens <hca@linux.ibm.com>2026-10-13 17:01:47 +0200
commit9126b292d5e941c8bb192f4cd6f13980b624cd28 (patch)
treec9af78b1847e37611e6926b1dbf1ffe0f6c22ee8 /tools/lib/python
parent343d1acd1abd0d9320f8b4252c736246ba764d4e (diff)
downloadlinux-next-9126b292d5e941c8bb192f4cd6f13980b624cd28.tar.gz
linux-next-9126b292d5e941c8bb192f4cd6f13980b624cd28.zip
s390/pci: Drop the unused index argument of zpci_msi_clear_airq()
zpci_msi_domain_free() passes its loop index to zpci_msi_clear_airq(), which adds it to an offset that already accounts for it. zpci_msi_domain_alloc() stores hwirq + i for each vector, so zpci_decode_hwirq_msi_index() hands back msi_index + i and bit is already zdev->msi_first_bit + msi_index + i. The doubled index never selected a wrong entry. An irq domain's free() callback is only ever invoked from irq_domain_free_irqs_hierarchy(), which walks the range itself and passes a count of one. So, the loop in zpci_msi_domain_free() runs once with an index of zero. Drop the parameter and the addition. No functional change. Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Tobias Schumacher <ts@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions