Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp1066161lqo; Thu, 9 May 2024 03:58:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUaWBSuYhy2U9w5wqBYVDUrXWNV5dYnplriUHWAAuZDhmP86Sfyi6ZOdDkOOz9k69e1aLiaEToEvwCdoqxDNPo+djPGaNho9n68ntcaog== X-Google-Smtp-Source: AGHT+IHkigz/cOKalBwm6RYFHFHc6VSDGwEg1r7Pfkepw49/lpx9fZmIB36rfDE+dMHkxEQyLuX8 X-Received: by 2002:a05:620a:219b:b0:792:947b:f62 with SMTP id af79cd13be357-792bbe450f3mr367050985a.36.1715252285567; Thu, 09 May 2024 03:58:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715252285; cv=pass; d=google.com; s=arc-20160816; b=VPYXmWfZxJfrrmUSH8mZrDXYxhlpRbYNQxeHkqGrkVKEYcrQMXwMPq9Cdhp1LEVmJ6 mCTop4ITyt/x+1A1XB8ul5lySmHPZRREWgF8CZxZG9sDEwqru8s2eyGg+xU+hhW/lRVK Wo7gh/RArdyq1hgDhrO5FoJJEyjdzTqN7j2s9YiqxtOf96V9b0exVT5i2AXGyJO3BUeH PwDmg9Ctc5A5+HXxoLX2Q+KEe3+6i5UhzSZ5SGdKJNh9AWysrSiVr/UOgQrkyEwBtcxB gY8qdynnExN0WfT+K9new9DAZZOLorXCGht6rH8vFSYNoXH2scjOGqkHEqb042XQgf5a dw7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date; bh=yd39ZIS626+AJDAhEdo8IVmRO+Q+qHbdqFbwZV3/xuc=; fh=j2JHkkMiikH3/E/46vOoLDcTDQS5aDBY3fv1siIWzxo=; b=MuXZJIL+NlCFLAXaEPIp2EAB/Q9FtNrhhNAn/XgBcpBl9irXwMXTSQXJB8tRQF+t1u rIxr5CRSDWUF40mYrNgG45t81rhbL79TEYeLM4/SSDSsGlUgMNEdfG7cJ+AewH82Qabc 8m9/RNccbe3r03D/QFr7dcX4S8Z3OaM/LVaw59mkfCwwiylnpjEGMfJ4IUdEuNj2tymP cRgWCH18Zz07L+DkyFUJjGp4vve4RGNgGFBuFij8kI4stuMcbCcfb7qn2qQBm7ktbISG NXU6YDmxRhpTGdW+dWmILm0hRCAlo7ZkNi2b6SkMtgpZO2Vv5aZBQVzMGYFY0b1xUdiX LfOQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-174432-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174432-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792bf277ed4si104040485a.110.2024.05.09.03.58.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 03:58:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174432-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-174432-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174432-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4AC4F1C20BBA for ; Thu, 9 May 2024 10:58:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB74E1304AD; Thu, 9 May 2024 10:57:57 +0000 (UTC) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2368112EBC8; Thu, 9 May 2024 10:57:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715252277; cv=none; b=rNKEdz6+A4ZoUkr7RCLgSjoa11vAqQfB4gmSqUxRlsKb3Ki2qd7Ml6CIRB3y5WTAFe1K+p7oMoUp0/9OyUnz2+W/143cTlNoT9pBdoRDrgK1hkB2wE4I+1nQCKGxqr31XTKMUB6ANf51qE2PPdZ7xFbU4nOrO4fwnijOYjxmb/Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715252277; c=relaxed/simple; bh=9zBnXIOJ4g31aUy09rmkWoSTOzhGnZNoRO+xhbjZ19I=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=TUDjxxt89C5P23ub7qSUkFpVx/Iy9L6ztj7XljpaF9sFEgfck40vE/U3FVSuuas2B3SVzDHTn3MZ3fvFnLhTzKAFtlISuYqhF9YW923g5NOJkCBhESL5KQjfSnT3nOeM6oTnUG5oPNb1CLTd2QLx3XJ9eHk5g1jUWKK6WCC99Ow= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4VZpmy6Qq3z6J6Mk; Thu, 9 May 2024 18:54:42 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 786601400D9; Thu, 9 May 2024 18:57:51 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 9 May 2024 11:57:51 +0100 Date: Thu, 9 May 2024 11:57:50 +0100 From: Jonathan Cameron To: CC: , , , , Subject: Re: [PATCH] ACPI: PCI: Remove unused struct 'acpi_handle_node' Message-ID: <20240509115750.000078ad@Huawei.com> In-Reply-To: <20240509000858.204114-1-linux@treblig.org> References: <20240509000858.204114-1-linux@treblig.org> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml100006.china.huawei.com (7.191.160.224) To lhrpeml500005.china.huawei.com (7.191.163.240) On Thu, 9 May 2024 01:08:58 +0100 linux@treblig.org wrote: > From: "Dr. David Alan Gilbert" > > 'acpi_handle_node' is unused since > Commit 63f534b8bad9 ("ACPI: PCI: Rework acpi_get_pci_dev()") > Remove it. > > Signed-off-by: Dr. David Alan Gilbert FWIW, indeed unused. Reviewed-by: Jonathan Cameron > --- > drivers/acpi/pci_root.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c > index 58b89b8d950ed..59e6955e24edb 100644 > --- a/drivers/acpi/pci_root.c > +++ b/drivers/acpi/pci_root.c > @@ -293,11 +293,6 @@ struct acpi_pci_root *acpi_pci_find_root(acpi_handle handle) > } > EXPORT_SYMBOL_GPL(acpi_pci_find_root); > > -struct acpi_handle_node { > - struct list_head node; > - acpi_handle handle; > -}; > - > /** > * acpi_get_pci_dev - convert ACPI CA handle to struct pci_dev > * @handle: the handle in question