Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5326888rdb; Wed, 13 Dec 2023 05:52:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IE/pEl58wqy+i8sBlF4TdRgbYgs6rOFRnaArD7UrY8V4IWHmUaK/LXWO7FH4KmFyRSwU19J X-Received: by 2002:a05:6e02:1649:b0:35f:710d:82d with SMTP id v9-20020a056e02164900b0035f710d082dmr2285811ilu.1.1702475569851; Wed, 13 Dec 2023 05:52:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702475569; cv=none; d=google.com; s=arc-20160816; b=Vk9RJDWuopSyNaZhyIyqH+MHGedRJyMqYgvdkoLxH4Ddjj/jQn9OFe4eJoKPUVfuxb BiqI99nqo4ndCoUhhxDVrVkZVXI/4fs3QAvWUB/LsN7jWp1Qah8sbuTJhikNhFl2ECqk 4KuhS/OI0wHFrc6fGDpF9qsf/x0GA/BvaSzQo6hiQFtf/he7ksSyMnMww0NE2Jthpvz2 RBZMY25JatdSxfDLb3RDzCjciWWth4S87a0pStEahYw0nYVOykW1BiUPreIkv6n6c/zw opLEiz/W/fgwg2ESin2GECtMee3xLDqjuT4/exLtPqqglVYj5CH1e6yRvbBvSQz5Ns7G ESUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ldTnN6NaoKpn3Pzj4ymAXo4AbMSJji+PzTFvbDmK2dY=; fh=9hT4l0EMR1D2zdgUoRXiqFwsybSJyrmM/FC/blQlPsI=; b=dn2TbM6QqNKywYTKy7U8nOFSbM1l7Q2wt1DDeYMuA3uajaWUROqiIZsse62BptDPHr tkqqCBnW7CiOo52vidF3SxVeimIhIyEz92QaraxiJr0pZdCMlR/zzJ6hCnlXiEn7lj8d F+ZhlS8QxE89ejDrO8Lo0ZDHL6dIDDv7eaDCf58exdm9ahjm003Cg0fE3blDcy6PwJoj 1J5B3kq/f2rBHqvCzZDWmbzKKytFt/f/d/NA00HNMhoMRMUC5K1GmL2LpShkuSphCPs/ vysWvM8hlHU+EmZu+FW+ClU7enFrBJKwv2p6hxyElVLhGhCVX5JPoqqTv0VRjMpC6fLt oyGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=S9OMfbck; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id g184-20020a636bc1000000b005c668a5a906si9472530pgc.282.2023.12.13.05.52.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 05:52:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=S9OMfbck; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 25F5D819801F; Wed, 13 Dec 2023 05:52:34 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379272AbjLMNvs (ORCPT + 99 others); Wed, 13 Dec 2023 08:51:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1441914AbjLMNuy (ORCPT ); Wed, 13 Dec 2023 08:50:54 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B37FB10F4 for ; Wed, 13 Dec 2023 05:50:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702475446; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ldTnN6NaoKpn3Pzj4ymAXo4AbMSJji+PzTFvbDmK2dY=; b=S9OMfbcklWnYkUbRUPqPSOG4l9dgrgI6UveZm5iUduvXSHnIUAASbmd0Wt60YyVmZFtzV7 +8PMQVAmWS/Tsj3kZMWocVEXg2uB3d5A/oQ+JVHLwmSDW2bM031/9DlrB9MPSGjqa8bp0/ TMEvSLxaErlwQEfX9pgUgrN5PKvPdwI= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-204-YEpkbhlmOCyZaM5FVkfGtA-1; Wed, 13 Dec 2023 08:50:44 -0500 X-MC-Unique: YEpkbhlmOCyZaM5FVkfGtA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8EDBD29AC03C; Wed, 13 Dec 2023 13:50:43 +0000 (UTC) Received: from warthog.procyon.org.com (unknown [10.42.28.2]) by smtp.corp.redhat.com (Postfix) with ESMTP id C56791C060B1; Wed, 13 Dec 2023 13:50:42 +0000 (UTC) From: David Howells To: Marc Dionne Cc: David Howells , linux-afs@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 23/40] afs: Remove the unimplemented afs_cmp_addr_list() Date: Wed, 13 Dec 2023 13:49:45 +0000 Message-ID: <20231213135003.367397-24-dhowells@redhat.com> In-Reply-To: <20231213135003.367397-1-dhowells@redhat.com> References: <20231213135003.367397-1-dhowells@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 13 Dec 2023 05:52:34 -0800 (PST) Remove afs_cmp_addr_list() as it was never implemented. Signed-off-by: David Howells cc: Marc Dionne cc: linux-afs@lists.infradead.org --- fs/afs/addr_list.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/fs/afs/addr_list.c b/fs/afs/addr_list.c index 18c286efa3a5..6d42f85c6be5 100644 --- a/fs/afs/addr_list.c +++ b/fs/afs/addr_list.c @@ -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. */