浏览代码

I2C: S3C24X0: Remove the dead code

This revomes the code under #if 0 in the s3c24x0_i2c driver.

Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Rajeshwari Shinde 12 年之前
父节点
当前提交
cecf3c006f
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      drivers/i2c/s3c24x0_i2c.c

+ 0 - 7
drivers/i2c/s3c24x0_i2c.c

@@ -86,13 +86,6 @@ static int GetI2CSDA(void)
 #endif
 #endif
 }
 }
 
 
-#if 0
-static void SetI2CSDA(int x)
-{
-	rGPEDAT = (rGPEDAT & ~0x8000) | (x & 1) << 15;
-}
-#endif
-
 static void SetI2CSCL(int x)
 static void SetI2CSCL(int x)
 {
 {
 	struct s3c24x0_gpio *gpio = s3c24x0_get_base_gpio();
 	struct s3c24x0_gpio *gpio = s3c24x0_get_base_gpio();