Remove support for MKTRACE, MKMCONTEXT, MKSTATECTL

Change-Id: Ib5fa53913ecb7b46d30d391dbdd3e8ef21eb2254
This commit is contained in:
David van Moolenbroek
2013-10-27 01:54:37 +02:00
committed by Lionel Sambuc
parent 56be4fa616
commit f30a16b159
14 changed files with 9 additions and 75 deletions

View File

@@ -5,8 +5,4 @@ LIB= blockdriver
SRCS= driver.c drvlib.c driver_st.c driver_mt.c mq.c trace.c
.if ${USE_STATECTL} != "no"
CPPFLAGS+= -DUSE_STATECTL
.endif
.include <bsd.lib.mk>

View File

@@ -106,10 +106,8 @@ void blockdriver_announce(int type)
* will not restart statefully, and thus will skip this code.
*/
if (type == SEF_INIT_RESTART) {
#if USE_STATECTL
if ((r = sys_statectl(SYS_STATE_CLEAR_IPC_REFS)) != OK)
panic("blockdriver_init: sys_statectl failed: %d", r);
#endif
}
/* Publish a driver up event. */