staging: android: Remove unnecessary braces
Fixes the following checkpatch warning: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Hema Prathaban <hemaklnce@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
f827c165b0
Коммит
d03f6bbaa4
|
@ -125,9 +125,9 @@ 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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче