From 8b3ae99560e967df6d7ccf963ca57427e4e0f500 Mon Sep 17 00:00:00 2001 From: Marcelo Araujo Date: Fri, 7 Aug 2015 08:30:43 +0000 Subject: [PATCH] Wrap some unused functions with notyet, it is necessary to be able to build the modules/ctl directly. Remove a dead MALLOC_DEFINE. Differential Revision: D3329 Reviewed by: mav Sponsored by: gandi.net --- sys/cam/ctl/ctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/cam/ctl/ctl.c b/sys/cam/ctl/ctl.c index 3889ca8eb642..0c27d90f2413 100644 --- a/sys/cam/ctl/ctl.c +++ b/sys/cam/ctl/ctl.c @@ -511,7 +511,6 @@ static struct cdevsw ctl_cdevsw = { MALLOC_DEFINE(M_CTL, "ctlmem", "Memory used for CTL"); -MALLOC_DEFINE(M_CTLIO, "ctlio", "Memory used for CTL requests"); static int ctl_module_event_handler(module_t, int /*modeventtype_t*/, void *); @@ -14274,6 +14273,7 @@ ctl_init_isc_msg(void) printf("CTL: Still calling this thing\n"); } +#ifdef notyet /* * Init component * Initializes component into configuration defined by bootMode @@ -14365,6 +14365,7 @@ struct ctl_ha_component ctl_ha_component_ctlisc = .start = ctl_isc_start, .quiesce = ctl_isc_quiesce }; +#endif /* * vim: ts=8