diff --git a/kernel/chips/adm1026.c b/kernel/chips/adm1026.c index 9f3aa1af..a5077af3 100644 --- a/kernel/chips/adm1026.c +++ b/kernel/chips/adm1026.c @@ -689,7 +689,6 @@ int adm1026_detect(struct i2c_adapter *adapter, int address, " found at %d,0x%02x. Try force_adm1026.\n", i2c_adapter_id(adapter), address ); } - err = 0 ; goto ERROR1; } } diff --git a/kernel/chips/lm85.c b/kernel/chips/lm85.c index 584e7dbb..6c03a0ef 100644 --- a/kernel/chips/lm85.c +++ b/kernel/chips/lm85.c @@ -822,7 +822,6 @@ int lm85_detect(struct i2c_adapter *adapter, int address, " found at %d,0x%02x. Try force_lm85c.\n", i2c_adapter_id(adapter), address ); } - err = 0 ; goto ERROR1; } }