Author: trasz
Date: Thu May 15 18:34:31 2014
New Revision: 266169
URL: http://svnweb.freebsd.org/changeset/base/266169

Log:
  Remove unused variable.

Modified:
  head/usr.sbin/iscsid/login.c

Modified: head/usr.sbin/iscsid/login.c
==============================================================================
--- head/usr.sbin/iscsid/login.c        Thu May 15 18:18:53 2014        
(r266168)
+++ head/usr.sbin/iscsid/login.c        Thu May 15 18:34:31 2014        
(r266169)
@@ -772,7 +772,6 @@ login(struct connection *conn)
 {
        struct pdu *request, *response;
        struct keys *request_keys, *response_keys;
-       struct iscsi_bhs_login_request *bhslr;
        struct iscsi_bhs_login_response *bhslr2;
        const char *auth_method;
        int i;
@@ -781,9 +780,6 @@ login(struct connection *conn)
 
        log_debugx("beginning Login phase; sending Login PDU");
        request = login_new_request(conn);
-
-       bhslr = (struct iscsi_bhs_login_request *)request->pdu_bhs;
-
        request_keys = keys_new();
        if (conn->conn_conf.isc_mutual_user[0] != '\0') {
                keys_add(request_keys, "AuthMethod", "CHAP");
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to