Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d03f6bba authored by Hema Prathaban's avatar Hema Prathaban Committed by Greg Kroah-Hartman
Browse files

staging: android: Remove unnecessary braces



Fixes the following checkpatch warning:
WARNING: braces {} are not necessary for single statement blocks

Signed-off-by: default avatarHema Prathaban <hemaklnce@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f827c165
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
}