projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
332bf92
)
[PATCH] i2c: Minor i2c-amd8111 cleanup
author
Jean Delvare
<khali@linux-fr.org>
Sun, 25 Sep 2005 14:58:22 +0000
(16:58 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 28 Oct 2005 21:02:07 +0000
(14:02 -0700)
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(-)
drivers/i2c/busses/i2c-amd8111.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-amd8111.c
b/drivers/i2c/busses/i2c-amd8111.c
index 49ff11e5134f08f6d7fe4a630830a8be70700f84..6200c9a087ada6e4484dc910565f4865e39b5e58 100644
(file)
--- 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);