Sparc32: remove a variable used only for debugging to avoid a clang warning
authorBlue Swirl <blauwirbel@gmail.com>
Wed, 13 Jan 2010 18:55:11 +0000 (18:55 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 13 Jan 2010 18:55:11 +0000 (18:55 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/iommu.c

index 4151022de35349ce6fa7c59da75949cf16f04050..0cd2ed00e3769f21a096abc5b71f5849a03d1f3c 100644 (file)
@@ -272,13 +272,11 @@ static uint32_t iommu_page_get_flags(IOMMUState *s, target_phys_addr_t addr)
 static target_phys_addr_t iommu_translate_pa(target_phys_addr_t addr,
                                              uint32_t pte)
 {
-    uint32_t tmppte;
     target_phys_addr_t pa;
 
-    tmppte = pte;
     pa = ((pte & IOPTE_PAGE) << 4) + (addr & ~IOMMU_PAGE_MASK);
     DPRINTF("xlate dva " TARGET_FMT_plx " => pa " TARGET_FMT_plx
-            " (iopte = %x)\n", addr, pa, tmppte);
+            " (iopte = %x)\n", addr, pa, pte);
 
     return pa;
 }