Date: Fri, 7 Aug 2015 08:30:44 +0000 (UTC) From: Marcelo Araujo <araujo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r286406 - head/sys/cam/ctl Message-ID: <201508070830.t778UiuE016557@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: araujo (ports committer) Date: Fri Aug 7 08:30:43 2015 New Revision: 286406 URL: https://svnweb.freebsd.org/changeset/base/286406 Log: 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 Modified: head/sys/cam/ctl/ctl.c Modified: head/sys/cam/ctl/ctl.c ============================================================================== --- head/sys/cam/ctl/ctl.c Fri Aug 7 08:24:12 2015 (r286405) +++ head/sys/cam/ctl/ctl.c Fri Aug 7 08:30:43 2015 (r286406) @@ -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 .start = ctl_isc_start, .quiesce = ctl_isc_quiesce }; +#endif /* * vim: ts=8
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508070830.t778UiuE016557>