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 <xe...@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) {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to