kernel/posix-timers.c: Fix unused variable
A message that is not in the archive (sent off-list or not yet received): 516f06a8.xFxNSO51jS+u5rc5%[email protected]
PATCH 1/1 kernel/posix-timers.c: Fix unused variable
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 <[email protected]>
---
kernel/posix-timers.c +0 -1
@@ -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) {