[PATCH] afs: Remove redundant still_probing check
Chelsy Ratnawat
chelsyratnawat2001 at gmail.com
Thu Oct 15 13:17:41 PDT 2026
The still_probing check is redundant here, as it is always
øtrue at this point and is only modified later in the function.
Remove the unnecessary check.
Signed-off-by: Chelsy Ratnawat <chelsyratnawat2001 at gmail.com>
---
fs/afs/fs_probe.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/afs/fs_probe.c b/fs/afs/fs_probe.c
index 8c62334dbfe7..64ea5ddcc841 100644
--- a/fs/afs/fs_probe.c
+++ b/fs/afs/fs_probe.c
@@ -330,8 +330,6 @@ int afs_wait_for_fs_probes(struct afs_operation *op, struct afs_server_state *st
if (estate->responsive_set & states[i].untried_addrs)
return 1;
}
- if (!still_probing)
- return 0;
for (i = 0; i < slist->nr_servers; i++)
add_wait_queue(&slist->servers[i].server->probe_wq, &states[i].probe_waiter);
--
2.53.0
More information about the linux-afs
mailing list