[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1453630892-5684-1-git-send-email-tapanprakasht@gmail.com>
Date: Sun, 24 Jan 2016 15:51:32 +0530
From: Tapan Prakash T <tapanprakasht@...il.com>
To: gregkh@...uxfoundation.org
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Tapan Prakash T <tapanprakasht@...il.com>
Subject: [PATCH] staging: android: sync_debug: Fixed braces related coding style issue
This patch fixes checkpatch.pl warning in file sync_debug
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Tapan Prakash T <tapanprakasht@...il.com>
---
drivers/staging/android/sync_debug.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/android/sync_debug.c b/drivers/staging/android/sync_debug.c
index f45d13c..02a1649 100644
--- a/drivers/staging/android/sync_debug.c
+++ b/drivers/staging/android/sync_debug.c
@@ -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) {
--
1.9.1
Powered by blists - more mailing lists