Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/iscsi/dist/src/lib remove unset (and always pri...



details:   https://anonhg.NetBSD.org/src/rev/247631c9db04
branches:  trunk
changeset: 958687:247631c9db04
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jan 17 00:13:49 2021 +0000

description:
remove unset (and always printed as "(null)") gfilename variable.

diffstat:

 external/bsd/iscsi/dist/src/lib/initiator.c |  7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diffs (31 lines):

diff -r 0b6ee89b0396 -r 247631c9db04 external/bsd/iscsi/dist/src/lib/initiator.c
--- a/external/bsd/iscsi/dist/src/lib/initiator.c       Sat Jan 16 23:51:50 2021 +0000
+++ b/external/bsd/iscsi/dist/src/lib/initiator.c       Sun Jan 17 00:13:49 2021 +0000
@@ -92,7 +92,6 @@
 static iscsi_queue_t g_enqueue_q;
 static iscsi_queue_t g_session_q;
 static int      g_initiator_state;
-static char           *gfilename;
 
 /* Testing of initiator_abort */
 
@@ -905,9 +904,6 @@
                set_debug(dbg);
        }
        iscsi_trace(TRACE_ISCSI_DEBUG, "initializing initiator\n");
-       iscsi_trace(TRACE_ISCSI_DEBUG,
-               "target config filename to read from: %s\n", gfilename
-               ? gfilename : "(null)");
        port = atoi(iscsi_initiator_getvar(ini, "target port"));
        if (get_target_config(iscsi_initiator_getvar(ini,
                                "target hostname"), port) != 0) {
@@ -3715,9 +3711,6 @@
 
        USE_ARG(address_family);
        iscsi_trace(TRACE_ISCSI_DEBUG, "initializing initiator\n");
-       iscsi_trace(TRACE_ISCSI_DEBUG,
-           "target config filename to read from: %s\n", gfilename ?
-           gfilename : "(null)");
        if (get_target_config(hostname, port) != 0) {
                iscsi_err(__FILE__, __LINE__, "Error getting target configuration from config file\n");
                return -1;



Home | Main Index | Thread Index | Old Index