afs: Remove the unimplemented afs_cmp_addr_list()
authorDavid Howells <dhowells@redhat.com>
Mon, 30 Oct 2023 11:39:04 +0000 (11:39 +0000)
committerDavid Howells <dhowells@redhat.com>
Mon, 1 Jan 2024 16:37:26 +0000 (16:37 +0000)
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

fs/afs/addr_list.c

index 18c286efa3a531204b3be263466fc8adbe3a1b1f..6d42f85c6be54c9e531a1d1a439abb0dc0864b10 100644 (file)
@@ -244,19 +244,6 @@ error_vl:
        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.
  */