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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to