Skip to content

Commit

Permalink
afs: Remove the unimplemented afs_cmp_addr_list()
Browse files Browse the repository at this point in the history
Remove afs_cmp_addr_list() as it was never implemented.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
  • Loading branch information
David Howells committed Jan 1, 2024
1 parent af9a5b4 commit b605ee4
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions fs/afs/addr_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,19 +244,6 @@ struct afs_vlserver_list *afs_parse_text_addrs(struct afs_net *net,
return ERR_PTR(ret);
}

/*
* Compare old and new address lists to see if there's been any change.
* - How to do this in better than O(Nlog(N)) time?
* - We don't really want to sort the address list, but would rather take the
* list as we got it so as not to undo record rotation by the DNS server.
*/
#if 0
static int afs_cmp_addr_list(const struct afs_addr_list *a1,
const struct afs_addr_list *a2)
{
}
#endif

/*
* Perform a DNS query for VL servers and build a up an address list.
*/
Expand Down

0 comments on commit b605ee4

Please sign in to comment.