diff options
author | Cong Ding <dinggnu@gmail.com> | 2013-01-18 08:58:23 -0800 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-01-28 14:27:49 -0800 |
commit | 813f13e7d6ad239bb1003041f4cfae13ae27b14d (patch) | |
tree | 4e345d12f7a5bd340dcbed046131f79b30be1ba5 /arch/arm/mach-s3c24xx | |
parent | 949db153b6466c6f7cad5a427ecea94985927311 (diff) | |
download | linux-813f13e7d6ad239bb1003041f4cfae13ae27b14d.tar.gz linux-813f13e7d6ad239bb1003041f4cfae13ae27b14d.tar.bz2 linux-813f13e7d6ad239bb1003041f4cfae13ae27b14d.zip |
ARM: S3C24XX: fix uninitialized variable warning
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>
Diffstat (limited to 'arch/arm/mach-s3c24xx')
-rw-r--r-- | arch/arm/mach-s3c24xx/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c24xx/common.c b/arch/arm/mach-s3c24xx/common.c index 0c9e9a785ef6..6bcf87f65f9e 100644 --- a/arch/arm/mach-s3c24xx/common.c +++ b/arch/arm/mach-s3c24xx/common.c @@ -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 |