diff options
author | David Howells <dhowells@redhat.com> | 2020-04-24 11:23:17 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-04-24 16:32:49 +0100 |
commit | be59167c8f27592e79c0044a0bbc515b38d5eace (patch) | |
tree | fef9f8666a70d7b8f70a55d9d539bd95d9f36afe /fs/afs/fs_probe.c | |
parent | ae83d0b416db002fe95601e7f97f64b59514d936 (diff) | |
download | linux-be59167c8f27592e79c0044a0bbc515b38d5eace.tar.bz2 |
afs: Remove some unused bits
Remove three bits:
(1) afs_server::no_epoch is neither set nor used.
(2) afs_server::have_result is set and a wakeup is applied to it, but
nothing looks at it or waits on it.
(3) afs_vl_dump_edestaddrreq() prints afs_addr_list::probed, but nothing
sets it for VL servers.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/fs_probe.c')
-rw-r--r-- | fs/afs/fs_probe.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/afs/fs_probe.c b/fs/afs/fs_probe.c index e1b9ed679045..a587767b6ae1 100644 --- a/fs/afs/fs_probe.c +++ b/fs/afs/fs_probe.c @@ -117,11 +117,8 @@ out: (unsigned int)rtt, ret); have_result |= afs_fs_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); - } } /* |