Skip to contentSkip to conversation

Staging: android: sync: fixed a brace coding style issue

PATCH In review [email protected] 2 participants 3 messages May 16, 2013 – May 17, 2013 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: android: sync: fixed a brace coding style issue

From: Brandon Height <[email protected]>

Fixed a coding style issue.

---
 drivers/staging/android/sync.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/android/sync.c +1 -2
index 3893a35..36ed35e 100644
@@ -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);
 }
 
Signature · 1 line
1.8.1.2