From patchwork Mon Sep 23 15:07:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Howells X-Patchwork-Id: 13809704 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15474CF9C74 for ; Mon, 23 Sep 2024 15:08:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 963366B0096; Mon, 23 Sep 2024 11:08:50 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 916286B0098; Mon, 23 Sep 2024 11:08:50 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 78CE16B0099; Mon, 23 Sep 2024 11:08:50 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 535126B0096 for ; Mon, 23 Sep 2024 11:08:50 -0400 (EDT) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 07CA01413BA for ; Mon, 23 Sep 2024 15:08:50 +0000 (UTC) X-FDA: 82596335220.08.0CB92B8 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf11.hostedemail.com (Postfix) with ESMTP id 383EE4002C for ; Mon, 23 Sep 2024 15:08:48 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b="PTVKvKy/"; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf11.hostedemail.com: domain of dhowells@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1727104032; a=rsa-sha256; cv=none; b=2G/bsIchcuUlr9r+E4el5rSWsu7JFu+toUuF579JFdDLh5dRb9C+ffd0Dfx2dXDt2s8yVd HteGk61m5jc7i3ALRUihhqtoHt4I/Ys/gDPfDZIq7YTW0zSdBVGqb0YjzxeyJLMWLxkGbh gAOZVgNTb8Cctw4JvqkVdqz+U04e1r4= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b="PTVKvKy/"; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf11.hostedemail.com: domain of dhowells@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1727104032; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=YHIPIQ0jqmx06tKWg5zwKCYYjtifDx3/S1TSTB/jDJ4=; b=5cBhRrB0upVVLrzCGvOQhXca1cXhzdcEshZLMTyrNFWUFXwKWjOubsHJwvH19CEIjzQHYW Vy5KrvkYV95u04OxV7M5G4G+sJUpWFj7C9ZFrQYr1V+2Q2hVG46eMyGLQrqFyNELJBrdI5 0V22OX/+epsJnAD6yEJDDSM4JNStUrg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1727104127; 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=YHIPIQ0jqmx06tKWg5zwKCYYjtifDx3/S1TSTB/jDJ4=; b=PTVKvKy/OpXZy1JmwaKJStZ5BwY/sgZfb9V5qjumC+l/bNLmBbgBAkdVKz9VIzLjiCG7da EgzBXUsFJGG3m1X4aiXC8RQHwOIxUbrLHha6iwbdNQSMkSA1wmC2H4Si+DPfvghtQ43fek JyrpA5JpW8LP4ZPolkB0F3uoCrO5mGk= Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-645-n60o72YoO8em_juxYjNDxw-1; Mon, 23 Sep 2024 11:08:42 -0400 X-MC-Unique: n60o72YoO8em_juxYjNDxw-1 Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (unknown [10.30.177.40]) (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 mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 633B218B6A33; Mon, 23 Sep 2024 15:08:39 +0000 (UTC) Received: from warthog.procyon.org.com (unknown [10.42.28.145]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 2387B190AABA; Mon, 23 Sep 2024 15:08:24 +0000 (UTC) From: David Howells To: Christian Brauner , Steve French , Marc Dionne Cc: David Howells , Paulo Alcantara , Jeff Layton , Matthew Wilcox , netfs@lists.linux.dev, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, ceph-devel@vger.kernel.org, v9fs@lists.linux.dev, linux-erofs@lists.ozlabs.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Thorsten Blum Subject: [PATCH 4/8] afs: Remove unused struct and function prototype Date: Mon, 23 Sep 2024 16:07:48 +0100 Message-ID: <20240923150756.902363-5-dhowells@redhat.com> In-Reply-To: <20240923150756.902363-1-dhowells@redhat.com> References: <20240923150756.902363-1-dhowells@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 383EE4002C X-Stat-Signature: noy3ha6i1u4xw97quz3u6busp48oapq7 X-Rspam-User: X-HE-Tag: 1727104128-76701 X-HE-Meta: U2FsdGVkX1/0nZotUk6czl216kypem7fPy7VHU9tVd+HshEpsuK5HnhC2zGjup+ao73+wEEINMco3q7pzbrkJX4mvvX4KTnbfM1WFXqey9f1pVaVufqQDO3725a4s5ciCyUSFUDYuZJVtj5RLQFxrRFu5HBFBlv28vdflhb8I5WdUPh7wCsUwgOoIox1ooYeeM9Q95HC178aPfM+YMorR+q6jkHexoNsTKFmSgbNooj+EMaIWCbXdYxstRhxxogXesGNOH0EljzsoJnWv/3JkLApOvJQHJM87re2Ydqba8AXpMbHN1GBzNoRXxAphcVhiga3AAMVA5rNfZvDqDbvcsJYVkikmNTzsTweovrOjAW1yJoqwoihqmBNwmqg8syDoUpOdY2KNVPcdHcyzyDVXI/L9BheYGS2CvJkUrjelyVepsHmyB5lwLt2kj4lsKJRACo92mFh528DEMALR+YIvb1R9n3OxTkWeWB+7hZDERCbtVCMiaUPpLY6Yabi0TqLQ/5ZcD8SqsKo4L9uL/UHrtqwfcKe0L6FvVY00zOIIU/3NJgsiRTyEi4MCDM05dKl8GE8OwmMr7iAmLqMwY41m1Cy+70d8F49S2QfPu/Oi3W8iC1HLq6Mgn7OsSadTfsGQVFUsI7MR3yGHpiuALR++LLVsre1RP/ZojBLa70P9PiQDWL8bdlEgblPf3pI/9vFkm3suw9CWr162sQJ8v3Xwpn4LS6ZeMkWYM+czDa2H51LsE9QYdQdxT9ZxA23DGDpfmoRwPZSoK1LujpM5+mqqmvtufpTPgjPR7qP06cI7FCSDh03GqlPK5+ho8iX0aXlYu+cGmZd5h5SyUXwb1uSYsRMIHgNt3jlznk+fic9lAXnybdmlwz+kX2sXFkuW1gU8pQwN7UvVWJTHtsKQE04ALOVfgod0vFdyLNBnyMRhBJmyqcv171fsveVHQZkTHf/eBAQeELpmh/ky7vkB3y YiGtaoit RHIAJf/hWF01+kxo/xB+bb+E+//H6f0MJJ2FsiDo+P9yQCMvybFcE0lrxyMBsknXQZNqkzbQoTjoaYhkBHR7B+aHSA8oU/frlDT2lZ35aDgMptV1bD5s0NQE76szpXqbdBEWGIAYqlF/AaafIa2iNDkvkQmLtzKsP+/ttJrH+KFkR1zGd2zfw2c7sv1r8usIM6kretUOu2JKC9rTE2gBZSpJ0uQsG6i5R0hOn21uaG3RbFNA/KNrj/H9ZEm1c85VeVU5dX5ZGw6Bk38hoKTTFuoZPcqAnFcasBIut6qcGqJQglJZOULBFMxfacgpjwofO3kNZ9sbGHFNNXemq9KgBlBAPoOSdvBJhadu8DkxZOXqBGrDcBWQ4MK/zZzMpld1HYAoDdpfyzyofz2OocAfpd4pabDIE0ZwVzRrNTzPFer+LVZB/5V7gTGa+lXTWJK7nEfAAT7Mn2SpHXZlI4XIf3EN7g+SgmS4QmNsP24+zMcIjdeaa9PHMlN52lq421u7xBkJVcvtAO0U+hvZBzl90AOUTig== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: From: Thorsten Blum 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 Signed-off-by: David Howells cc: Marc Dionne cc: linux-afs@lists.infradead.org cc: linux-fsdevel@vger.kernel.org Link: https://lore.kernel.org/r/20240911095046.3749-2-thorsten.blum@toblux.com/ --- fs/afs/afs_vl.h | 9 --------- 1 file changed, 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 */