Skip to content

Commit

Permalink
afs: Remove unused struct and function prototype
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thorsten Blum authored and Christian Brauner committed Sep 27, 2024
1 parent f94d542 commit 19dcfb9
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions fs/afs/afs_vl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 19dcfb9

Please sign in to comment.