forked from Minki/linux
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:
parent
f827c165b0
commit
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user