diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-12-21 18:49:57 +0300 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-03-24 22:56:41 +0300 |
commit | a459b8ab9c176143fecef8ace4b70d6dbd7a8113 (patch) | |
tree | 2c1faebb488f692b8f0bb7d075cb347099851164 /drivers/firewire | |
parent | da62df141e3f879445e3daef36bd3a12c90841e2 (diff) | |
download | linux-a459b8ab9c176143fecef8ace4b70d6dbd7a8113.tar.xz |
firewire: cdev: use list_first_entry
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire')
-rw-r--r-- | drivers/firewire/fw-cdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-cdev.c b/drivers/firewire/fw-cdev.c index 3c075b2eedf9..ead5c7b06ec1 100644 --- 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.next, struct event, link); + event = list_first_entry(&client->event_list, struct event, link); list_del(&event->link); spin_unlock_irqrestore(&client->lock, flags); |