From: David van Moolenbroek Date: Tue, 1 Nov 2011 19:14:18 +0000 (+0000) Subject: Kernel: remove unused MF_ASYNMSG X-Git-Tag: v3.2.0~278 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/soc.html?a=commitdiff_plain;h=8b00ebde78cf60f3fd9f6e6b267775dbd19dcf3f;p=minix.git Kernel: remove unused MF_ASYNMSG --- diff --git a/kernel/debug.c b/kernel/debug.c index 45506efaa..566dc03cc 100644 --- a/kernel/debug.c +++ b/kernel/debug.c @@ -175,7 +175,6 @@ miscflagstr(const u32_t flags) str[0] = '\0'; FLAG(MF_REPLY_PEND); - FLAG(MF_ASYNMSG); FLAG(MF_FULLVM); FLAG(MF_DELIVERMSG); FLAG(MF_KCALL_RESUME); diff --git a/kernel/proc.h b/kernel/proc.h index c92d99a48..3ee52abed 100644 --- a/kernel/proc.h +++ b/kernel/proc.h @@ -233,7 +233,6 @@ struct proc { We need to resume the kernel call execution now */ -#define MF_ASYNMSG 0x010 /* Asynchrous message pending */ #define MF_FULLVM 0x020 #define MF_DELIVERMSG 0x040 /* Copy message for him before running */ #define MF_SIG_DELAY 0x080 /* Send signal when no longer sending */ diff --git a/kernel/system/do_update.c b/kernel/system/do_update.c index a476d4841..5cdd3cb5e 100644 --- a/kernel/system/do_update.c +++ b/kernel/system/do_update.c @@ -137,7 +137,6 @@ PRIVATE void adjust_proc_slot(struct proc *rp, struct proc *from_rp) rp->p_nr = from_rp->p_nr; rp->p_priv = from_rp->p_priv; priv(rp)->s_proc_nr = from_rp->p_nr; - rp->p_misc_flags |= (from_rp->p_misc_flags & MF_ASYNMSG); rp->p_caller_q = from_rp->p_caller_q; }