From cea07e523c218ba45b9448ff78e18357880a2548 Mon Sep 17 00:00:00 2001 From: Ksenija Stanojevic Date: Sat, 10 Oct 2015 17:21:42 +0200 Subject: [PATCH] Staging: olpc_dcon: Remove braces Braces in single statement blocks are not needed. Found by checkpatch.pl Signed-off-by: Ksenija Stanojevic Signed-off-by: Greg Kroah-Hartman --- drivers/staging/olpc_dcon/olpc_dcon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/olpc_dcon/olpc_dcon.c b/drivers/staging/olpc_dcon/olpc_dcon.c index 9038e0b3f113..3f424d14c334 100644 --- a/drivers/staging/olpc_dcon/olpc_dcon.c +++ b/drivers/staging/olpc_dcon/olpc_dcon.c @@ -243,9 +243,8 @@ static void dcon_load_holdoff(struct dcon_priv *dcon) while (1) { now = ktime_get(); delta_t = ktime_sub(now, dcon->load_time); - if (ktime_to_ns(delta_t) > NSEC_PER_MSEC * 20) { + if (ktime_to_ns(delta_t) > NSEC_PER_MSEC * 20) break; - } mdelay(4); } } -- 2.39.5