Skip to content

Commit

Permalink
Fix up duplicate '__s3c2410wdt_stop()' function
Browse files Browse the repository at this point in the history
Looks like somebody didn't get enough sleep.

Noticed-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Linus Torvalds committed Aug 8, 2008
1 parent 3d8cd0c commit c1ec829
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions drivers/watchdog/s3c2410_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,6 @@ static void s3c2410wdt_keepalive(void)
spin_unlock(&wdt_lock);
}

static void __s3c2410wdt_stop(void)
{
unsigned long wtcon;

spin_lock(&wdt_lock);
wtcon = readl(wdt_base + S3C2410_WTCON);
wtcon &= ~(S3C2410_WTCON_ENABLE | S3C2410_WTCON_RSTEN);
writel(wtcon, wdt_base + S3C2410_WTCON);
spin_unlock(&wdt_lock);
}

static void __s3c2410wdt_stop(void)
{
unsigned long wtcon;
Expand Down

0 comments on commit c1ec829

Please sign in to comment.