summaryrefslogtreecommitdiff
path: root/drivers/i2c/s3c24x0_i2c.c
diff options
context:
space:
mode:
authorRajeshwari Shinde <rajeshwari.s@samsung.com>2013-02-18 19:58:11 +0000
committerHeiko Schocher <hs@denx.de>2013-03-12 19:32:41 +0100
commitcecf3c006f88a45c2fbab4336f01ebeb05e2ef2e (patch)
tree0bbcdf5eb6aaa118f5e2073c4c5bfa015c6b7dd6 /drivers/i2c/s3c24x0_i2c.c
parent68149e94053d18b54a63c9a44c87f178f59a169e (diff)
downloadu-boot-imx-cecf3c006f88a45c2fbab4336f01ebeb05e2ef2e.zip
u-boot-imx-cecf3c006f88a45c2fbab4336f01ebeb05e2ef2e.tar.gz
u-boot-imx-cecf3c006f88a45c2fbab4336f01ebeb05e2ef2e.tar.bz2
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>
Diffstat (limited to 'drivers/i2c/s3c24x0_i2c.c')
-rw-r--r--drivers/i2c/s3c24x0_i2c.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/i2c/s3c24x0_i2c.c b/drivers/i2c/s3c24x0_i2c.c
index 769a2ba..00308b5 100644
--- a/drivers/i2c/s3c24x0_i2c.c
+++ b/drivers/i2c/s3c24x0_i2c.c
@@ -86,13 +86,6 @@ static int GetI2CSDA(void)
#endif
}
-#if 0
-static void SetI2CSDA(int x)
-{
- rGPEDAT = (rGPEDAT & ~0x8000) | (x & 1) << 15;
-}
-#endif
-
static void SetI2CSCL(int x)
{
struct s3c24x0_gpio *gpio = s3c24x0_get_base_gpio();