From e3b4d820314d792862b9380372fd957adfbe1747 Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Wed, 24 Feb 2010 11:28:55 +0900 Subject: [PATCH] s5pc1xx: universal: remove dead code Signed-off-by: Minkyu Kang --- board/samsung/universal/universal.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/board/samsung/universal/universal.c b/board/samsung/universal/universal.c index fd9e129..2679f26 100644 --- a/board/samsung/universal/universal.c +++ b/board/samsung/universal/universal.c @@ -1534,10 +1534,8 @@ static void init_pmic(void) addr = 0xCC >> 1; /* max8998 */ if (i2c_probe(addr)) { - if (i2c_probe(addr)) { - printf("Can't found max8998\n"); - return; - } + printf("Can't found max8998\n"); + return; } /* ONOFF1 */ -- 2.7.4