From 3c2c926823305139ef7867dcffa76b3a505a3b02 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Tue, 12 Oct 2010 13:20:38 -0700 Subject: [PATCH] Staging: brcm80211: util: remove unneeded use of uintptr uintptr shouldn't be used when you are just casting to a pointer anyway, so remove it from these usages. Cc: Brett Rudley Cc: Henry Ptasinski Cc: Nohee Ko Signed-off-by: Greg Kroah-Hartman --- drivers/staging/brcm80211/util/aiutils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/brcm80211/util/aiutils.c b/drivers/staging/brcm80211/util/aiutils.c index 0724cc1d0730..d4e9187508af 100644 --- a/drivers/staging/brcm80211/util/aiutils.c +++ b/drivers/staging/brcm80211/util/aiutils.c @@ -134,7 +134,7 @@ void ai_scan(si_t *sih, void *regs, uint devid) case SPI_BUS: case SDIO_BUS: #endif /* BCMSDIO */ - eromptr = (u32 *) (uintptr) erombase; + eromptr = (u32 *)erombase; break; default: @@ -358,8 +358,8 @@ void *ai_setcoreidx(si_t *sih, uint coreidx) case SPI_BUS: case SDIO_BUS: #endif /* BCMSDIO */ - sii->curmap = regs = (void *)((uintptr) addr); - sii->curwrap = (void *)((uintptr) wrap); + sii->curmap = regs = (void *)addr; + sii->curwrap = (void *)wrap; break; default: -- 2.20.1