提交 cea07e52 编写于 作者: K Ksenija Stanojevic 提交者: Greg Kroah-Hartman

Staging: olpc_dcon: Remove braces

Braces in single statement blocks are not needed.

Found by checkpatch.pl

Signed-off-by: Ksenija Stanojevic<ksenija.stanojevic@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 36e712a8
...@@ -243,9 +243,8 @@ static void dcon_load_holdoff(struct dcon_priv *dcon) ...@@ -243,9 +243,8 @@ static void dcon_load_holdoff(struct dcon_priv *dcon)
while (1) { while (1) {
now = ktime_get(); now = ktime_get();
delta_t = ktime_sub(now, dcon->load_time); 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; break;
}
mdelay(4); mdelay(4);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册