diff options
author | Vasant Hegde <[email protected]> | 2024-10-30 06:35:47 +0000 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-10-30 11:06:41 +0100 |
commit | 743a4bae9fa1480e5f6837f6a55be918d6cd0e16 (patch) | |
tree | 0aa3b70456faf3515908e9ba1b0089a19acfc20b /drivers/fpga/fpga-mgr.c | |
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 <[email protected]>
Reviewed-by: Suravee Suthikulpanit <[email protected]>
Reviewed-by: Joerg Roedel <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions