Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2014 18:34:31 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r266169 - head/usr.sbin/iscsid
Message-ID:  <201405151834.s4FIYVFH036773@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405151834.s4FIYVFH036773>