From mboxrd@z Thu Jan 1 00:00:00 1970 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