summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/iommu/amd/iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/amd/iommu.c b/drivers/iommu/amd/iommu.c
index c46dde88a132..b1fbf2c83df5 100644
--- a/drivers/iommu/amd/iommu.c
+++ b/drivers/iommu/amd/iommu.c
@@ -1785,7 +1785,7 @@ static void __init amd_iommu_init_dma_ops(void)
int __init amd_iommu_init_api(void)
{
- int err = 0;
+ int err;
amd_iommu_init_dma_ops();