Skip to contentSkip to conversation

Remove unnecessary cast.

PATCH New Sean Young 1 participant 1 message Aug 23, 2011 Watchdog device drivers

lore
Share & tools
lore

Sean Young

author
#0 lore raw

PATCH 1/1 Remove unnecessary cast.

---
 drivers/watchdog/sc520_wdt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/watchdog/sc520_wdt.c +1 -1
index 52b63f2..b284040 100644
@@ -398,7 +398,7 @@ static int __init sc520_wdt_init(void)
 							WATCHDOG_TIMEOUT);
 	}
 
-	wdtmrctl = ioremap((unsigned long)(MMCR_BASE + OFFS_WDTMRCTL), 2);
+	wdtmrctl = ioremap(MMCR_BASE + OFFS_WDTMRCTL, 2);
 	if (!wdtmrctl) {
 		printk(KERN_ERR PFX "Unable to remap memory\n");
 		rc = -ENOMEM;
Signature · 1 line
1.7.6