From: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
To: devel@driverdev.osuosl.org
Cc: jfrederich@gmail.com, dsd@laptop.org, gregkh@linuxfoundation.org,
jon.nettleton@gmail.com, linux-kernel@vger.kernel.org,
Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Subject: [PATCH] Staging: olpc_dcon: Remove braces
Date: Sat, 10 Oct 2015 17:21:42 +0200 [thread overview]
Message-ID: <1444490502-3989-1-git-send-email-ksenija.stanojevic@gmail.com> (raw)
Braces in single statement blocks are not needed.
Found by checkpatch.pl
Signed-off-by: Ksenija Stanojevic<ksenija.stanojevic@gmail.com>
---
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 9038e0b..3f424d1 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);
}
}
--
1.9.1
reply other threads:[~2015-10-10 15:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1444490502-3989-1-git-send-email-ksenija.stanojevic@gmail.com \
--to=ksenija.stanojevic@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=dsd@laptop.org \
--cc=gregkh@linuxfoundation.org \
--cc=jfrederich@gmail.com \
--cc=jon.nettleton@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®