Skip to contentSkip to conversation

(12/13) i2c: Minor i2c-amd8111 cleanup

PATCH New Jean Delvare 1 participant 1 message Sep 25, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 (12/13) i2c: Minor i2c-amd8111 cleanup

I noticed a useless instruction in the i2c-amd8111 driver.

CC Vojtech Pavlik <[email protected]>
 drivers/i2c/busses/i2c-amd8111.c |    1 -
 1 file changed, 1 deletion(-)
drivers/i2c/busses/i2c-amd8111.c +0 -1
@@ -244,7 +244,6 @@
 			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);
Signature · 1 line
Jean Delvare