Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75443
b: refs/heads/master
c: a2a6c74
h: refs/heads/master
i:
  75441: 4e22abc
  75439: 54da3fa
v: v3
  • Loading branch information
Evgeniy Polyakov authored and Linus Torvalds committed Jan 14, 2008
1 parent 7d26960 commit ae1996a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: cb2a52052cebe4716e83b9d2e53682ba00f67de6
refs/heads/master: a2a6c74d34c3ae9de6825767a30ab17f709b59ce
6 changes: 2 additions & 4 deletions trunk/drivers/w1/w1.c
Original file line number Diff line number Diff line change
Expand Up @@ -869,11 +869,9 @@ void w1_search_process(struct w1_master *dev, u8 search_type)
w1_search_devices(dev, search_type, w1_slave_found);

list_for_each_entry_safe(sl, sln, &dev->slist, w1_slave_entry) {
if (!test_bit(W1_SLAVE_ACTIVE, (unsigned long *)&sl->flags) && !--sl->ttl) {
if (!test_bit(W1_SLAVE_ACTIVE, (unsigned long *)&sl->flags) && !--sl->ttl)
w1_slave_detach(sl);

dev->slave_count--;
} else if (test_bit(W1_SLAVE_ACTIVE, (unsigned long *)&sl->flags))
else if (test_bit(W1_SLAVE_ACTIVE, (unsigned long *)&sl->flags))
sl->ttl = dev->slave_ttl;
}

Expand Down

0 comments on commit ae1996a

Please sign in to comment.