diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-powermac.c')
-rw-r--r-- | drivers/i2c/busses/i2c-powermac.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-powermac.c b/drivers/i2c/busses/i2c-powermac.c index 02b02413850a..1c440a70ec61 100644 --- a/drivers/i2c/busses/i2c-powermac.c +++ b/drivers/i2c/busses/i2c-powermac.c | |||
@@ -162,8 +162,6 @@ static int i2c_powermac_master_xfer( struct i2c_adapter *adap, | |||
162 | return -EINVAL; | 162 | return -EINVAL; |
163 | read = (msgs->flags & I2C_M_RD) != 0; | 163 | read = (msgs->flags & I2C_M_RD) != 0; |
164 | addrdir = (msgs->addr << 1) | read; | 164 | addrdir = (msgs->addr << 1) | read; |
165 | if (msgs->flags & I2C_M_REV_DIR_ADDR) | ||
166 | addrdir ^= 1; | ||
167 | 165 | ||
168 | rc = pmac_i2c_open(bus, 0); | 166 | rc = pmac_i2c_open(bus, 0); |
169 | if (rc) { | 167 | if (rc) { |