]> Git Repo - linux.git/commitdiff
iommu/exynos: Remove unneeded local variable initialization
authorKrzysztof Kozlowski <[email protected]>
Thu, 8 Apr 2021 20:16:22 +0000 (22:16 +0200)
committerJoerg Roedel <[email protected]>
Thu, 15 Apr 2021 13:35:58 +0000 (15:35 +0200)
The initialization of 'fault_addr' local variable is not needed as it is
shortly after overwritten.

Addresses-Coverity: Unused value
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Marek Szyprowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
drivers/iommu/exynos-iommu.c

index de324b4eedfe9cbce4fa712ab421806061213b2f..8fa9a591fb967a197ca0924c200ea5bb2abae8bd 100644 (file)
@@ -407,7 +407,7 @@ static irqreturn_t exynos_sysmmu_irq(int irq, void *dev_id)
        struct sysmmu_drvdata *data = dev_id;
        const struct sysmmu_fault_info *finfo;
        unsigned int i, n, itype;
-       sysmmu_iova_t fault_addr = -1;
+       sysmmu_iova_t fault_addr;
        unsigned short reg_status, reg_clear;
        int ret = -ENOSYS;
 
This page took 0.0615019999999999 seconds and 4 git commands to generate.