Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77350
b: refs/heads/master
c: 0b987dc
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare authored and Jean Delvare committed Jan 27, 2008
1 parent 3e336ba commit cb043b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9ddced16bb901415ac46058a55bb842a7df8cc68
refs/heads/master: 0b987dcd3ae5626ac006fbbe366e9a8415b303df
2 changes: 0 additions & 2 deletions trunk/drivers/i2c/i2c-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,6 @@ i2c_new_probed_device(struct i2c_adapter *adap,
return NULL;
}

mutex_lock(&adap->clist_lock);
for (i = 0; addr_list[i] != I2C_CLIENT_END; i++) {
/* Check address validity */
if (addr_list[i] < 0x03 || addr_list[i] > 0x77) {
Expand Down Expand Up @@ -1124,7 +1123,6 @@ i2c_new_probed_device(struct i2c_adapter *adap,
break;
}
}
mutex_unlock(&adap->clist_lock);

if (addr_list[i] == I2C_CLIENT_END) {
dev_dbg(&adap->dev, "Probing failed, no device found\n");
Expand Down

0 comments on commit cb043b4

Please sign in to comment.