From: Arun Thomas Date: Thu, 11 Aug 2011 15:45:20 +0000 (+0200) Subject: pm: remove dead function X-Git-Tag: v3.2.0~374 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doxygen.log?a=commitdiff_plain;h=9602f63a7221cc6b1b828843f8fbb14ca4e8e372;p=minix.git pm: remove dead function --- diff --git a/servers/pm/main.c b/servers/pm/main.c index a41e8a5a0..01a7f367b 100644 --- a/servers/pm/main.c +++ b/servers/pm/main.c @@ -399,26 +399,6 @@ int queue; /* store mem chunks here */ return nice_val; } -void checkme(char *str, int line) -{ - struct mproc *trmp; - int boned = 0; - int proc_nr; - for (proc_nr=0, trmp=mproc; proc_nr < NR_PROCS; proc_nr++, trmp++) { - if ((trmp->mp_flags & (REPLY | IN_USE | EXITING)) == - (REPLY | IN_USE)) { - int tp; - if(pm_isokendpt(trmp->mp_endpoint, &tp) != OK) { - printf("PM: %s:%d: reply %d to %s is bogus endpoint %d after call %d by %d\n", - str, line, trmp->mp_reply.m_type, - trmp->mp_name, trmp->mp_endpoint, call_nr, who_e); - boned=1; - } - } - if(boned) panic("corrupt mp_endpoint?"); - } -} - /*===========================================================================* * handle_vfs_reply * *===========================================================================*/