[IA64] Fix missing iounmap in error path in cyclone.c

By moving the iounmap up above the test, it takes place whether the test
succeeds or fails.

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by Julia Lawall and committed by Tony Luck ddad53ee 383f9f17

+1 -1
+1 -1
arch/ia64/kernel/cyclone.c
··· 59 return -ENODEV; 60 } 61 base = readq(reg); 62 if(!base){ 63 printk(KERN_ERR "Summit chipset: Could not find valid CBAR" 64 " value.\n"); 65 use_cyclone = 0; 66 return -ENODEV; 67 } 68 - iounmap(reg); 69 70 /* setup PMCC */ 71 offset = (base + CYCLONE_PMCC_OFFSET);
··· 59 return -ENODEV; 60 } 61 base = readq(reg); 62 + iounmap(reg); 63 if(!base){ 64 printk(KERN_ERR "Summit chipset: Could not find valid CBAR" 65 " value.\n"); 66 use_cyclone = 0; 67 return -ENODEV; 68 } 69 70 /* setup PMCC */ 71 offset = (base + CYCLONE_PMCC_OFFSET);