summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@toblux.com>2024-09-23 17:07:48 +0200
committerChristian Brauner <brauner@kernel.org>2024-09-27 18:29:19 +0200
commit19dcfb9c1685d45ba96852e021415134865b0a95 (patch)
treec8cf9c33dc562e75032a26568e12ac897d783b26
parentafs: Fix possible infinite loop with unresponsive servers (diff)
downloadlinux-19dcfb9c1685d45ba96852e021415134865b0a95.tar.xz
linux-19dcfb9c1685d45ba96852e021415134865b0a95.zip
afs: Remove unused struct and function prototype
The struct afs_address_list and the function prototype afs_put_address_list() are not used anymore and can be removed. Remove them. Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> Signed-off-by: David Howells <dhowells@redhat.com> Link: https://lore.kernel.org/r/20240911095046.3749-2-thorsten.blum@toblux.com/ Link: https://lore.kernel.org/r/20240923150756.902363-5-dhowells@redhat.com cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org cc: linux-fsdevel@vger.kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
-rw-r--r--fs/afs/afs_vl.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/afs/afs_vl.h b/fs/afs/afs_vl.h
index 9c65ffb8a523..a06296c8827d 100644
--- a/fs/afs/afs_vl.h
+++ b/fs/afs/afs_vl.h
@@ -134,13 +134,4 @@ struct afs_uvldbentry__xdr {
__be32 spares9;
};
-struct afs_address_list {
- refcount_t usage;
- unsigned int version;
- unsigned int nr_addrs;
- struct sockaddr_rxrpc addrs[];
-};
-
-extern void afs_put_address_list(struct afs_address_list *alist);
-
#endif /* AFS_VL_H */