[PATCH] iommu/amd: Remove unused variable

2019-12-23 Thread Joerg Roedel
From: Joerg Roedel The iommu variable in set_device_exclusion_range() us unused now and causes a compiler warning. Remove it. Fixes: 387caf0b759a ("iommu/amd: Treat per-device exclusion ranges as r/w unity-mapped regions") Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu_init.c | 2 --

Re: [PATCH] iommu/amd: remove unused variable flush_addr

2017-10-25 Thread Alex Williamson
On Sun, 22 Oct 2017 13:49:45 +0200 Colin King wrote: > From: Colin Ian King > > Variable flush_addr is being assigned but is never read; it > is redundant and can be removed. Cleans up the clang warning: > > drivers/iommu/amd_iommu.c:2388:2: warning: Value stored to 'flush_addr' > is never rea

[PATCH] iommu/amd: remove unused variable flush_addr

2017-10-22 Thread Colin King
From: Colin Ian King Variable flush_addr is being assigned but is never read; it is redundant and can be removed. Cleans up the clang warning: drivers/iommu/amd_iommu.c:2388:2: warning: Value stored to 'flush_addr' is never read Signed-off-by: Colin Ian King --- drivers/iommu/amd_iommu.c | 2