From: Pavel Emelyanov <xemul@parallels.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH tip:timers/core] kernel/posix-timers.c: Fix unused variable
Date: Thu, 18 Apr 2013 13:43:27 +0400 [thread overview]
Message-ID: <516FC03F.9070100@parallels.com> (raw)
In-Reply-To: <516f06a8.xFxNSO51jS+u5rc5%fengguang.wu@intel.com>
The kbuild test robot detected unused variable introduced by commit 5ed67f05 (posix
timers: Allocate timer id per process (v2)).
kernel/posix-timers.c: In function '__posix_timers_find':
kernel/posix-timers.c:157:21: warning: unused variable 'node' [-Wunused-variable]
This var is just not needed.
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
---
diff --git a/kernel/posix-timers.c b/kernel/posix-timers.c
index 34d7592..424c2d4 100644
--- a/kernel/posix-timers.c
+++ b/kernel/posix-timers.c
@@ -154,7 +154,6 @@ static struct k_itimer *__posix_timers_find(struct hlist_head *head,
struct signal_struct *sig,
timer_t id)
{
- struct hlist_node *node;
struct k_itimer *timer;
hlist_for_each_entry_rcu(timer, head, t_hash) {
parent reply other threads:[~2013-04-18 9:44 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <516f06a8.xFxNSO51jS+u5rc5%fengguang.wu@intel.com>]
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=516FC03F.9070100@parallels.com \
--to=xemul@parallels.com \
--cc=linux-kernel@vger.kernel.org \
--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