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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
36e712a8a1
commit
cea07e523c
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue