Messages in this thread Patch in this message | | | From | bmheight@gmail ... | Subject | [PATCH] Staging: android: sync: fixed a brace coding style issue | Date | Thu, 16 May 2013 08:42:22 -1000 |
| |
From: Brandon Height <bmheight@gmail.com>
Fixed a coding style issue.
Signed-off-by: Brandon Height <bmheight@gmail.com> --- drivers/staging/android/sync.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c index 3893a35..36ed35e 100644 --- a/drivers/staging/android/sync.c +++ b/drivers/staging/android/sync.c @@ -125,9 +125,8 @@ static void sync_timeline_remove_pt(struct sync_pt *pt) spin_unlock_irqrestore(&obj->active_list_lock, flags); spin_lock_irqsave(&obj->child_list_lock, flags); - if (!list_empty(&pt->child_list)) { + if (!list_empty(&pt->child_list)) list_del_init(&pt->child_list); - } spin_unlock_irqrestore(&obj->child_list_lock, flags); } -- 1.8.1.2
| |