mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-02 08:42:48 +00:00
Remove write-only variable.
Submitted by: Dominic Marks MFC after: 1 month Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
28a425750a
commit
fd3996c90a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=289459
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user