Staging: android: Fix brace coding style warning in sync_debug.c
authorBopamo Osaisai <bopamo@gmail.com>
Fri, 8 Jan 2016 17:15:31 +0000 (09:15 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
This is a patch to the sync_debug.c file that rectifies a brace warning
that was found with the checkpatch.pl tool

Signed-off-by: Bopamo Osaisai <bopamo@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/sync_debug.c

index f45d13cdd42b902f32543e37fbf2173cb0cb6dba..02a1649a1bd9f9571fe75b8c6d8d829f27763e1b 100644 (file)
@@ -158,9 +158,8 @@ static void sync_print_fence(struct seq_file *s, struct sync_fence *fence)
        seq_printf(s, "[%p] %s: %s\n", fence, fence->name,
                   sync_status_str(atomic_read(&fence->status)));
 
-       for (i = 0; i < fence->num_fences; ++i) {
+       for (i = 0; i < fence->num_fences; ++i)
                sync_print_pt(s, fence->cbs[i].sync_pt, true);
-       }
 
        spin_lock_irqsave(&fence->wq.lock, flags);
        list_for_each_entry(pos, &fence->wq.task_list, task_list) {