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>
This commit is contained in:
Родитель
949db153b6
Коммит
813f13e7d6
|
@ -197,7 +197,7 @@ static unsigned long s3c24xx_read_idcode_v4(void)
|
||||||
|
|
||||||
static void s3c24xx_default_idle(void)
|
static void s3c24xx_default_idle(void)
|
||||||
{
|
{
|
||||||
unsigned long tmp;
|
unsigned long tmp = 0;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* idle the system by using the idle mode which will wait for an
|
/* idle the system by using the idle mode which will wait for an
|
||||||
|
|
Загрузка…
Ссылка в новой задаче