[linux-yocto] [PATCH 1/7] kernel/time: Fix Compile Warning
Daniel Dragomir
daniel.dragomir at windriver.com
Thu Jul 26 03:58:55 PDT 2018
From: John Jacques <john.jacques at intel.com>
'Commit 90d1ffa36cbd ("Merge branch 'standard/base' into
standard/preempt-rt/base")' removed all references to the
variable 'sig', but left 'sig' defined.
Removethe definition of 'sig'.
Signed-off-by: John Jacques <john.jacques at intel.com>
---
kernel/time/posix-timers.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/time/posix-timers.c b/kernel/time/posix-timers.c
index 7ae29ed..6bc78f9 100644
--- a/kernel/time/posix-timers.c
+++ b/kernel/time/posix-timers.c
@@ -506,7 +506,6 @@ static enum hrtimer_restart posix_timer_fn(struct hrtimer *timer)
static struct pid *good_sigevent(sigevent_t * event)
{
struct task_struct *rtn = current->group_leader;
- int sig = event->sigev_signo;
switch (event->sigev_notify) {
case SIGEV_SIGNAL | SIGEV_THREAD_ID:
--
2.7.4
More information about the linux-yocto
mailing list