diff options
author | Kirill A. Shutemov <kirill@shutemov.name> | 2011-03-15 22:53:18 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-03-22 15:13:35 +0900 |
commit | 9913319fc0b47f3f740633165dee4807d94d0096 (patch) | |
tree | 48c31d83d30cd75ce5fe44b89588015088988ffa /drivers/video/omap/blizzard.c | |
parent | 4fdf30c44bb2e97a9f8f2b57764c5acd89267d4c (diff) | |
download | op-kernel-dev-9913319fc0b47f3f740633165dee4807d94d0096.zip op-kernel-dev-9913319fc0b47f3f740633165dee4807d94d0096.tar.gz |
omap: use list_move() instead of list_del()/list_add() combination
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/omap/blizzard.c')
-rw-r--r-- | drivers/video/omap/blizzard.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/omap/blizzard.c b/drivers/video/omap/blizzard.c index 87785c2..c0504a8 100644 --- a/drivers/video/omap/blizzard.c +++ b/drivers/video/omap/blizzard.c @@ -397,8 +397,7 @@ static inline void free_req(struct blizzard_request *req) spin_lock_irqsave(&blizzard.req_lock, flags); - list_del(&req->entry); - list_add(&req->entry, &blizzard.free_req_list); + list_move(&req->entry, &blizzard.free_req_list); if (!(req->flags & REQ_FROM_IRQ_POOL)) up(&blizzard.req_sema); |