diff --git a/usr.sbin/ctld/kernel.c b/usr.sbin/ctld/kernel.c --- a/usr.sbin/ctld/kernel.c +++ b/usr.sbin/ctld/kernel.c @@ -543,10 +543,6 @@ port->port_id, name); pp = pport_find(kports, name); if (pp == NULL) { -#if 0 - log_debugx("found new kernel port %u \"%s\"", - port->port_id, name); -#endif pp = pport_new(kports, name, port->port_id); if (pp == NULL) { log_warnx("pport_new failed"); @@ -563,10 +559,6 @@ targ = target_find(conf, port->cfiscsi_target); if (targ == NULL) { -#if 0 - log_debugx("found new kernel target %s for CTL port %ld", - port->cfiscsi_target, port->port_id); -#endif targ = target_new(conf, port->cfiscsi_target); if (targ == NULL) { log_warnx("target_new failed"); @@ -578,10 +570,6 @@ continue; pg = portal_group_find(conf, port->ctld_portal_group_name); if (pg == NULL) { -#if 0 - log_debugx("found new kernel portal group %s for CTL port %ld", - port->ctld_portal_group_name, port->port_id); -#endif pg = portal_group_new(conf, port->ctld_portal_group_name); if (pg == NULL) { log_warnx("portal_group_new failed");