From 4a25435a0ef61768820297aa65aec8741c18cb94 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 19 Jan 2019 20:07:12 +0000 Subject: [PATCH] process: fix warnings --- Kernel/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/process.c b/Kernel/process.c index 8bbb92ae..2f62c75e 100644 --- a/Kernel/process.c +++ b/Kernel/process.c @@ -21,7 +21,7 @@ static void do_psleep(void *event, uint8_t state) { - irqflags_t irq = di(); + di(); #ifdef DEBUG_SLEEP kprintf("psleep(0x%p)", event); #endif @@ -629,7 +629,7 @@ static uint8_t chksigset(struct sigbits *sb, uint8_t b) to fix */ if (b && (m & stopper)) { /* Don't allow us to race SIGCONT */ - irqflags_t irq = di(); + di(); /* FIXME: can we ever end up here not in READY/RUNNING ? */ /* Yes: we could be in P_SLEEP on a close race with do_psleep() */ -- 2.34.1