Date: Wed, 12 Feb 2025 19:34:27 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: ca8a23d6cb32 - main - ctld: Drop some #if 0'd debugging traces Message-ID: <202502121934.51CJYR0V059694@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=ca8a23d6cb32d8af18f3c249ed604c8db7c68d08 commit ca8a23d6cb32d8af18f3c249ed604c8db7c68d08 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2025-02-12 19:25:22 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2025-02-12 19:25:22 +0000 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 --- usr.sbin/ctld/kernel.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/usr.sbin/ctld/kernel.c b/usr.sbin/ctld/kernel.c index 7e9ef8ec42c2..5544bb79aeb2 100644 --- a/usr.sbin/ctld/kernel.c +++ b/usr.sbin/ctld/kernel.c @@ -543,10 +543,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"); @@ -563,10 +559,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"); @@ -578,10 +570,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");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502121934.51CJYR0V059694>