diff options
author | Vasant Hegde <vasant.hegde@amd.com> | 2024-10-30 06:35:47 +0000 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2024-10-30 11:06:41 +0100 |
commit | 743a4bae9fa1480e5f6837f6a55be918d6cd0e16 (patch) | |
tree | 0aa3b70456faf3515908e9ba1b0089a19acfc20b /tools/perf/scripts/python/flamegraph.py | |
parent | 2fcab2deebc33640516d9d379b626557a38d5d4f (diff) |
iommu/amd: Remove protection_domain.dev_cnt variable
protection_domain->dev_list tracks list of attached devices to
domain. We can use list_* functions on dev_list to get device count.
Hence remove 'dev_cnt' variable.
No functional change intended.
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Reviewed-by: Joerg Roedel <jroedel@suse.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20241030063556.6104-4-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions