mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
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>
This commit is contained in:
parent
1d4adfaf65
commit
4f4c2c05eb
@ -412,7 +412,6 @@ struct afs_vlserver {
|
||||
unsigned int rtt; /* RTT as ktime/64 */
|
||||
u32 abort_code;
|
||||
short error;
|
||||
bool have_result;
|
||||
bool responded:1;
|
||||
bool is_yfs:1;
|
||||
bool not_yfs:1;
|
||||
|
@ -109,11 +109,8 @@ out:
|
||||
server_index, index, &alist->addrs[index].transport, rtt_us, ret);
|
||||
|
||||
have_result |= afs_vl_probe_done(server);
|
||||
if (have_result) {
|
||||
server->probe.have_result = true;
|
||||
wake_up_var(&server->probe.have_result);
|
||||
if (have_result)
|
||||
wake_up_all(&server->probe_wq);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user