mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-19 08:11:52 +00:00
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…
x
Reference in New Issue
Block a user