Skip to content

Commit

Permalink
rtc/nuc900: fix build warning
Browse files Browse the repository at this point in the history
Remove unused local variable.

Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Wan ZongShun authored and Linus Torvalds committed Aug 11, 2010
1 parent 23e53be commit 2f11e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-nuc900.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ static irqreturn_t nuc900_rtc_interrupt(int irq, void *_rtc)

static int *check_rtc_access_enable(struct nuc900_rtc *nuc900_rtc)
{
unsigned int i, timeout = 0x1000;
unsigned int timeout = 0x1000;
__raw_writel(INIRRESET, nuc900_rtc->rtc_reg + REG_RTC_INIR);

mdelay(10);
Expand Down

0 comments on commit 2f11e57

Please sign in to comment.