[linux-yocto] [PATCH 08/14] kernel: Fix a Compile Warning

Daniel Dragomir daniel.dragomir at windriver.com
Mon Dec 4 02:57:58 PST 2017


From: John Jacques <john.jacques at intel.com>

Remove the declaration of an unused variable that
results in a compile warning (unused variable).

Signed-off-by: John Jacques <john.jacques at intel.com>
---
 kernel/futex.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/futex.c b/kernel/futex.c
index 3b90708..b0991db 100644
--- a/kernel/futex.c
+++ b/kernel/futex.c
@@ -2607,7 +2607,6 @@ static int futex_wait_requeue_pi(u32 __user *uaddr, unsigned int flags,
 {
 	struct hrtimer_sleeper timeout, *to = NULL;
 	struct rt_mutex_waiter rt_waiter;
-	struct rt_mutex *pi_mutex = NULL;
 	struct futex_hash_bucket *hb, *hb2;
 	union futex_key key2 = FUTEX_KEY_INIT;
 	struct futex_q q = futex_q_init;
-- 
2.7.4



More information about the linux-yocto mailing list