Remove unnecessary cast.
PATCH 1/1 Remove unnecessary cast.
Signed-off-by Sean Young <[email protected]>
--- drivers/watchdog/sc520_wdt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/watchdog/sc520_wdt.c +1 -1
@@ -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