iommu/amd: Remove variable cnt ind iommu_poll_ga_log()
authorColin Ian King <colin.i.king@gmail.com>
Mon, 24 Oct 2022 13:43:01 +0000 (14:43 +0100)
committerJoerg Roedel <jroedel@suse.de>
Thu, 3 Nov 2022 14:39:23 +0000 (15:39 +0100)
commit2a48b15972a3b2a2622e6e537e1d53f457670395
tree7155c2ee5c14c8df0d28caa284c4638840ca5f8d
parent30a0b95b1335e12efef89dd78518ed3e4a71a763
iommu/amd: Remove variable cnt ind iommu_poll_ga_log()

Variable cnt is just being incremented and it's never used
anywhere else. The variable and the increment are redundant so
remove it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Link: https://lore.kernel.org/r/20221024134301.2158939-1-colin.i.king@gmail.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/iommu.c