Remove write-only variable.

Submitted by:	Dominic Marks
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
trasz 2015-10-17 16:05:42 +00:00
parent c8894251e1
commit b5af77bf9f

View File

@ -597,7 +597,6 @@ kernel_wait(int iscsi_fd, int timeout)
{
struct iscsi_session_state *states = NULL;
const struct iscsi_session_state *state;
const struct iscsi_session_conf *conf;
struct iscsi_session_list isl;
unsigned int i, nentries = 1;
bool all_connected;
@ -629,7 +628,6 @@ kernel_wait(int iscsi_fd, int timeout)
all_connected = true;
for (i = 0; i < isl.isl_nentries; i++) {
state = &states[i];
conf = &state->iss_conf;
if (!state->iss_connected) {
all_connected = false;