afs: Remove afs_vlserver->probe.have_result
Remove afs_vlserver->probe.have_result as it's neither read nor waited
upon.
Fixes: 3bf0fb6f33
("afs: Probe multiple fileservers simultaneously")
Signed-off-by: David Howells <dhowells@redhat.com>
zero-sugar-mainline-defconfig
parent
1d4adfaf65
commit
4f4c2c05eb
|
@ -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 @@ out:
|
||||||
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);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue