aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2025-02-12 19:25:22 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2026-01-27 18:15:56 +0000
commitf577b919b36027d8976b212d72ddb7c36061e947 (patch)
treee9c60809f1066ac80717f6c8bd2f0f84b56702bf
parentf9e5a4d5ba2018712147277c7c788551c9a0f91d (diff)
ctld: Drop some #if 0'd debugging traces
Suggested by: asomers Reviewed by: asomers Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D48927 (cherry picked from commit ca8a23d6cb32d8af18f3c249ed604c8db7c68d08)
-rw-r--r--usr.sbin/ctld/kernel.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/usr.sbin/ctld/kernel.c b/usr.sbin/ctld/kernel.c
index 2ec54e504b7a..df6367c3658a 100644
--- a/usr.sbin/ctld/kernel.c
+++ b/usr.sbin/ctld/kernel.c
@@ -544,10 +544,6 @@ retry_port:
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");
@@ -564,10 +560,6 @@ retry_port:
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");
@@ -579,10 +571,6 @@ retry_port:
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");