Commit 4f4c2c05 authored by David Howells's avatar David Howells

afs: Remove afs_vlserver->probe.have_result

Remove afs_vlserver->probe.have_result as it's neither read nor waited
upon.

Fixes: 3bf0fb6f ("afs: Probe multiple fileservers simultaneously")
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 1d4adfaf
...@@ -412,7 +412,6 @@ struct afs_vlserver { ...@@ -412,7 +412,6 @@ struct afs_vlserver {
unsigned int rtt; /* RTT as ktime/64 */ unsigned int rtt; /* RTT as ktime/64 */
u32 abort_code; u32 abort_code;
short error; short error;
bool have_result;
bool responded:1; bool responded:1;
bool is_yfs:1; bool is_yfs:1;
bool not_yfs:1; bool not_yfs:1;
......
...@@ -109,11 +109,8 @@ void afs_vlserver_probe_result(struct afs_call *call) ...@@ -109,11 +109,8 @@ void afs_vlserver_probe_result(struct afs_call *call)
server_index, index, &alist->addrs[index].transport, rtt_us, ret); server_index, index, &alist->addrs[index].transport, rtt_us, ret);
have_result |= afs_vl_probe_done(server); have_result |= afs_vl_probe_done(server);
if (have_result) { if (have_result)
server->probe.have_result = true;
wake_up_var(&server->probe.have_result);
wake_up_all(&server->probe_wq); wake_up_all(&server->probe_wq);
}
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment