summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-rcar.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2015-11-19 16:56:43 +0100
committerWolfram Sang <wsa@the-dreams.de>2015-11-30 14:20:25 +0100
commit90f779e565bdc18dd4f79d81cf11f43a7266010b (patch)
tree42cfffa6cce8bb2c7da57b27bac9ad0f9a1e2efa /drivers/i2c/busses/i2c-rcar.c
parent2c78cdc1c06308a59d6ed4145cdba73fdeff8c0d (diff)
downloadblackbird-op-linux-90f779e565bdc18dd4f79d81cf11f43a7266010b.tar.gz
blackbird-op-linux-90f779e565bdc18dd4f79d81cf11f43a7266010b.zip
i2c: rcar: remove unused IOERROR state
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-rcar.c')
-rw-r--r--drivers/i2c/busses/i2c-rcar.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/i2c/busses/i2c-rcar.c b/drivers/i2c/busses/i2c-rcar.c
index efc8de6cc8a2..746406923a58 100644
--- a/drivers/i2c/busses/i2c-rcar.c
+++ b/drivers/i2c/busses/i2c-rcar.c
@@ -94,7 +94,6 @@
#define RCAR_IRQ_ACK_RECV (~(MAT | MDR) & 0xFF)
#define ID_LAST_MSG (1 << 0)
-#define ID_IOERROR (1 << 1)
#define ID_DONE (1 << 2)
#define ID_ARBLOST (1 << 3)
#define ID_NACK (1 << 4)
@@ -541,11 +540,6 @@ static int rcar_i2c_master_xfer(struct i2c_adapter *adap,
break;
}
- if (rcar_i2c_flags_has(priv, ID_IOERROR)) {
- ret = -EIO;
- break;
- }
-
ret = i + 1; /* The number of transfer */
}
out:
OpenPOWER on IntegriCloud