public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH tip:timers/core] kernel/posix-timers.c: Fix unused variable
       [not found] <516f06a8.xFxNSO51jS+u5rc5%fengguang.wu@intel.com>
@ 2013-04-18  9:43 ` Pavel Emelyanov
  0 siblings, 0 replies; only message in thread
From: Pavel Emelyanov @ 2013-04-18  9:43 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: Linux Kernel Mailing List

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) {

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-18  9:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <516f06a8.xFxNSO51jS+u5rc5%fengguang.wu@intel.com>
2013-04-18  9:43 ` [PATCH tip:timers/core] kernel/posix-timers.c: Fix unused variable Pavel Emelyanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox