Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247663
b: refs/heads/master
c: bd2281b
h: refs/heads/master
i:
  247661: 63f077a
  247659: 5525408
  247655: 2a4e262
  247647: 56b94d5
v: v3
  • Loading branch information
Julia Lawall authored and John W. Linville committed May 16, 2011
1 parent 62eec90 commit e671bba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 40b275b69ee660274b77fb612b0db31fd282fc3f
refs/heads/master: bd2281b85d929af0bd192f05135f70dd05f4fd85
2 changes: 1 addition & 1 deletion trunk/net/rfkill/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,6 @@ static int rfkill_fop_open(struct inode *inode, struct file *file)
* start getting events from elsewhere but hold mtx to get
* startup events added first
*/
list_add(&data->list, &rfkill_fds);

list_for_each_entry(rfkill, &rfkill_list, node) {
ev = kzalloc(sizeof(*ev), GFP_KERNEL);
Expand All @@ -1033,6 +1032,7 @@ static int rfkill_fop_open(struct inode *inode, struct file *file)
rfkill_fill_event(&ev->ev, rfkill, RFKILL_OP_ADD);
list_add_tail(&ev->list, &data->events);
}
list_add(&data->list, &rfkill_fds);
mutex_unlock(&data->mtx);
mutex_unlock(&rfkill_global_mutex);

Expand Down

0 comments on commit e671bba

Please sign in to comment.