projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da62df1
)
firewire: cdev: use list_first_entry
author
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Sun, 21 Dec 2008 15:49:57 +0000
(16:49 +0100)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Tue, 24 Mar 2009 19:56:41 +0000
(20:56 +0100)
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-cdev.c
patch
|
blob
|
history
diff --git
a/drivers/firewire/fw-cdev.c
b/drivers/firewire/fw-cdev.c
index 3c075b2eedf94be31fde6850abdc295b2d3e780a..ead5c7b06ec10a2a5af6b9f9096712f86d07ab6a 100644
(file)
--- a/
drivers/firewire/fw-cdev.c
+++ b/
drivers/firewire/fw-cdev.c
@@
-180,7
+180,7
@@
static int dequeue_event(struct client *client,
return -ENODEV;
spin_lock_irqsave(&client->lock, flags);
- event =
container_of(client->event_list.nex
t, struct event, link);
+ event =
list_first_entry(&client->event_lis
t, struct event, link);
list_del(&event->link);
spin_unlock_irqrestore(&client->lock, flags);