From patchwork Thu May 21 13:52:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 48855 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9E7A22121F for ; Thu, 21 May 2015 13:53:29 +0000 (UTC) Received: by wizk4 with SMTP id k4sf4044036wiz.2 for ; Thu, 21 May 2015 06:53:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=zZa8SN5NftWwvaTiyF3xpNyOPehqaTJA7zFJWt/8RdQ=; b=RGmpcnoV1jESsdasvhq4qrze78kKVq+E8zpcimOmDyMn4tiRr5Uaw1kd+BB0/LLXiq Vcx8EQXu3mX/hBzqgRYift9ST1uj1P/MSrAE/xUpdnx1xZlhIc1Utr2w4I0zbXZCoF0t lEOwBNh1NW924xhV3swHRh15MIBurW02JMTVH+Zlr5nfJjkART5pLI0qlZ4UGT7+LLe0 fZ3ED3SBuddJzdR1zYd/DXtC+hgeD0FK0Uyhy8L0d/CT+sc3w8kmBSHu0Ns9+iqNzcYS wELQN2G/u7knnMCeQ7giWK4BGjKGgmKdO7X9bUKTs2oxKvuxGwMI8bcPJ0fxGquNB5gh sMZQ== X-Gm-Message-State: ALoCoQmUfUDMnFCkcNuMcJfqQNd6TZR8ZQ0VRP5uEMy9SgiarVYTc+0NGi8fMbLeWpgMmz+ASCNT X-Received: by 10.112.138.2 with SMTP id qm2mr2735619lbb.19.1432216408924; Thu, 21 May 2015 06:53:28 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.9.37 with SMTP id w5ls322287laa.77.gmail; Thu, 21 May 2015 06:53:28 -0700 (PDT) X-Received: by 10.112.50.74 with SMTP id a10mr2337183lbo.4.1432216408733; Thu, 21 May 2015 06:53:28 -0700 (PDT) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com. [209.85.217.178]) by mx.google.com with ESMTPS id xu7si13315585lbb.139.2015.05.21.06.53.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 May 2015 06:53:28 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by lbbqq2 with SMTP id qq2so18555110lbb.3 for ; Thu, 21 May 2015 06:53:28 -0700 (PDT) X-Received: by 10.112.222.133 with SMTP id qm5mr2361151lbc.86.1432216408593; Thu, 21 May 2015 06:53:28 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp606723lbb; Thu, 21 May 2015 06:53:27 -0700 (PDT) X-Received: by 10.66.65.162 with SMTP id y2mr5782300pas.101.1432216406733; Thu, 21 May 2015 06:53:26 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qy1si31755909pbc.74.2015.05.21.06.53.23; Thu, 21 May 2015 06:53:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755151AbbEUNxW (ORCPT + 7 others); Thu, 21 May 2015 09:53:22 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:33882 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755260AbbEUNxV (ORCPT ); Thu, 21 May 2015 09:53:21 -0400 Received: by pabru16 with SMTP id ru16so106186738pab.1 for ; Thu, 21 May 2015 06:53:21 -0700 (PDT) X-Received: by 10.68.57.200 with SMTP id k8mr5866100pbq.61.1432216401096; Thu, 21 May 2015 06:53:21 -0700 (PDT) Received: from localhost ([104.207.83.5]) by mx.google.com with ESMTPSA id i15sm11846055pbq.60.2015.05.21.06.53.19 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 21 May 2015 06:53:20 -0700 (PDT) From: Hanjun Guo To: Bjorn Helgaas , "Rafael J. Wysocki" Cc: linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, Hanjun Guo , Yinghai Lu , Yijing Wang Subject: [PATCH] ACPI / PCI: remove stale list_head in struct acpi_prt_entry Date: Thu, 21 May 2015 21:52:32 +0800 Message-Id: <1432216352-8016-1-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-acpi-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: hanjun.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , list_head "list" in struct acpi_prt_entry was used to connect _PRT entries for PCI irq, but after commit 181380b7 (PCI/ACPI: Don't cache _PRT, and don't associate them with bus numbers), the list head for _PRT entries was removed, but left "list" in struct acpi_prt_entry which is useless and stale, remove it now. Signed-off-by: Hanjun Guo CC: Yinghai Lu CC: Yijing Wang --- drivers/acpi/pci_irq.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c index b1def41..03e4b6c 100644 --- a/drivers/acpi/pci_irq.c +++ b/drivers/acpi/pci_irq.c @@ -44,7 +44,6 @@ ACPI_MODULE_NAME("pci_irq"); struct acpi_prt_entry { - struct list_head list; struct acpi_pci_id id; u8 pin; acpi_handle link;