summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2015-08-07 08:30:43 +0000
committeraraujo <araujo@FreeBSD.org>2015-08-07 08:30:43 +0000
commit9d88a24d4b4eddb9193cd5e3ed933c22647ed4f2 (patch)
tree25d202dbee86ff26d6668fe5fce0b505d9bc0a94
parentc63f289a9d1b28271707f52a0d5901c794add6d0 (diff)
downloadFreeBSD-src-9d88a24d4b4eddb9193cd5e3ed933c22647ed4f2.zip
FreeBSD-src-9d88a24d4b4eddb9193cd5e3ed933c22647ed4f2.tar.gz
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
-rw-r--r--sys/cam/ctl/ctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/cam/ctl/ctl.c b/sys/cam/ctl/ctl.c
index 3889ca8..0c27d90 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
OpenPOWER on IntegriCloud