diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-09-25 16:58:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 23:02:07 +0200 |
commit | 0f69a612f950f7508e556bf1b09390087d112115 (patch) | |
tree | f27080ba61dd0f51e328c25add031c61204f1c7f | |
parent | [PATCH] i2c: Fix union i2c_smbus_data definition (diff) | |
download | linux-0f69a612f950f7508e556bf1b09390087d112115.tar.xz linux-0f69a612f950f7508e556bf1b09390087d112115.zip |
[PATCH] i2c: Minor i2c-amd8111 cleanup
I noticed a useless instruction in the i2c-amd8111 driver.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
CC: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/busses/i2c-amd8111.c | 1 -
1 file changed, 1 deletion(-)
-rw-r--r-- | drivers/i2c/busses/i2c-amd8111.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-amd8111.c b/drivers/i2c/busses/i2c-amd8111.c index 49ff11e5134f..6200c9a087ad 100644 --- a/drivers/i2c/busses/i2c-amd8111.c +++ b/drivers/i2c/busses/i2c-amd8111.c @@ -244,7 +244,6 @@ static s32 amd8111_access(struct i2c_adapter * adap, u16 addr, unsigned short fl break; case I2C_SMBUS_BLOCK_PROC_CALL: - protocol |= pec; len = min_t(u8, data->block[0], 31); amd_ec_write(smbus, AMD_SMB_CMD, command); amd_ec_write(smbus, AMD_SMB_BCNT, len); |