From: Ying Xue <ying.xue@windriver.com>
To: <linux-kernel@vger.kernel.org>
Cc: <tglx@linutronix.de>, <richardcochran@gmail.com>, <prarit@redhat.com>
Subject: [PATCH] ntp: Eliminate compile warning of unused variable flags
Date: Mon, 3 Jun 2013 10:22:52 +0800 [thread overview]
Message-ID: <1370226172-17850-1-git-send-email-ying.xue@windriver.com> (raw)
kernel/time/ntp.c: In function ‘__hardpps’:
kernel/time/ntp.c:877:16: warning: unused variable ‘flags’ [-Wunused-variable]
Signed-off-by: Ying Xue <ying.xue@windriver.com>
---
kernel/time/ntp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c
index 12ff13a..8f5b3b9 100644
--- a/kernel/time/ntp.c
+++ b/kernel/time/ntp.c
@@ -874,7 +874,6 @@ static void hardpps_update_phase(long error)
void __hardpps(const struct timespec *phase_ts, const struct timespec *raw_ts)
{
struct pps_normtime pts_norm, freq_norm;
- unsigned long flags;
pts_norm = pps_normalize_ts(*phase_ts);
--
1.7.9.5
reply other threads:[~2013-06-03 2:23 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=1370226172-17850-1-git-send-email-ying.xue@windriver.com \
--to=ying.xue@windriver.com \
--cc=linux-kernel@vger.kernel.org \
--cc=prarit@redhat.com \
--cc=richardcochran@gmail.com \
--cc=tglx@linutronix.de \
/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®