mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +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
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue