diff options
author | David Howells <dhowells@redhat.com> | 2020-08-19 15:13:44 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-08-20 18:21:28 +0100 |
commit | 4f4c2c05eb7703b485b4285b8e2eee908c7b4508 (patch) | |
tree | 9362edc52ba6ec1230408e243a6350865f197ff9 /fs/afs/vl_probe.c | |
parent | 1d4adfaf65746203861c72d9d78de349eb97d528 (diff) | |
download | linux-4f4c2c05eb7703b485b4285b8e2eee908c7b4508.tar.gz linux-4f4c2c05eb7703b485b4285b8e2eee908c7b4508.tar.bz2 linux-4f4c2c05eb7703b485b4285b8e2eee908c7b4508.zip |
afs: Remove afs_vlserver->probe.have_result
Remove afs_vlserver->probe.have_result as it's neither read nor waited
upon.
Fixes: 3bf0fb6f33dd ("afs: Probe multiple fileservers simultaneously")
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/vl_probe.c')
-rw-r--r-- | fs/afs/vl_probe.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/afs/vl_probe.c b/fs/afs/vl_probe.c index 081b7e5b13f5..ee59188433b9 100644 --- a/fs/afs/vl_probe.c +++ b/fs/afs/vl_probe.c @@ -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); - } } /* |