Skip to content

Commit

Permalink
ARM: S3C24XX: fix uninitialized variable warning
Browse files Browse the repository at this point in the history
the use of variable tmp is uninitialized, so we fix it.

Signed-off-by: Cong Ding <dinggnu@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Cong Ding authored and Kukjin Kim committed Jan 28, 2013
1 parent 949db15 commit 813f13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c24xx/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ static unsigned long s3c24xx_read_idcode_v4(void)

static void s3c24xx_default_idle(void)
{
unsigned long tmp;
unsigned long tmp = 0;
int i;

/* idle the system by using the idle mode which will wait for an
Expand Down

0 comments on commit 813f13e

Please sign in to comment.