git: ce8cfd998b4f - main - ctld: Remove dead logging code
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Apr 2025 14:04:03 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=ce8cfd998b4fc01cfd47e009b0f6dead404841b4 commit ce8cfd998b4fc01cfd47e009b0f6dead404841b4 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2025-04-11 14:02:29 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2025-04-11 14:02:29 +0000 ctld: Remove dead logging code Portal discovery auth groups are always named auth groups Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D49649 --- usr.sbin/ctld/login.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/usr.sbin/ctld/login.cc b/usr.sbin/ctld/login.cc index 84d329964ada..961f57eb03fb 100644 --- a/usr.sbin/ctld/login.cc +++ b/usr.sbin/ctld/login.cc @@ -1003,12 +1003,8 @@ login(struct ctld_connection *conn) } else { assert(conn->conn_session_type == CONN_SESSION_TYPE_DISCOVERY); ag = pg->pg_discovery_auth_group; - if (ag->ag_name != NULL) { - log_debugx("initiator requests " - "discovery session; auth-group \"%s\"", ag->ag_name); - } else { - log_debugx("initiator requests discovery session"); - } + log_debugx("initiator requests discovery session; %s", + ag->ag_label); } if (ag->ag_type == AG_TYPE_DENY) {