Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -5
-1
fs/afs/internal.h
··· 412 412 unsigned int rtt; /* RTT as ktime/64 */ 413 413 u32 abort_code; 414 414 short error; 415 - bool have_result; 416 415 bool responded:1; 417 416 bool is_yfs:1; 418 417 bool not_yfs:1;
+1 -4
fs/afs/vl_probe.c
··· 109 109 server_index, index, &alist->addrs[index].transport, rtt_us, ret); 110 110 111 111 have_result |= afs_vl_probe_done(server); 112 - if (have_result) { 113 - server->probe.have_result = true; 114 - wake_up_var(&server->probe.have_result); 112 + if (have_result) 115 113 wake_up_all(&server->probe_wq); 116 - } 117 114 } 118 115 119 116 /*