summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVasant Hegde <vasant.hegde@amd.com>2024-10-30 09:35:47 +0300
committerJoerg Roedel <jroedel@suse.de>2024-10-30 13:06:41 +0300
commit743a4bae9fa1480e5f6837f6a55be918d6cd0e16 (patch)
tree0aa3b70456faf3515908e9ba1b0089a19acfc20b /tools/perf/scripts/python/export-to-postgresql.py
parent2fcab2deebc33640516d9d379b626557a38d5d4f (diff)
downloadlinux-743a4bae9fa1480e5f6837f6a55be918d6cd0e16.tar.xz
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions