From patchwork Thu May 21 15:29:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 6456501 X-Patchwork-Delegate: rjw@sisk.pl Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A485BC0432 for ; Thu, 21 May 2015 15:30:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0009020457 for ; Thu, 21 May 2015 15:30:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 26E2C20380 for ; Thu, 21 May 2015 15:30:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964957AbbEUPa2 (ORCPT ); Thu, 21 May 2015 11:30:28 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:33831 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964959AbbEUPa1 (ORCPT ); Thu, 21 May 2015 11:30:27 -0400 Received: by pabru16 with SMTP id ru16so108934925pab.1 for ; Thu, 21 May 2015 08:30:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=TAwZE9W+eI26SOIuv798LAuuTqOu7ShR4qztrcSI3TI=; b=cQhL6deULIh+FTSqrserCQPxwcf4eNGFtH6O/CDhg58nph41A1oS2W232iCmOBU/IG HGgO/Lr0GennCMO5P9a7LMmXsWO0bikngvW0PPMQMWACRx81FGM9TTdvWW6evXjqG99h S0db/+0HHtYVRvryKffpZ3aDYt9rAxDf8Fw0Kv99rxSoSqRswmbUYC4V6zcnbsg97Y99 v9D7cUWv57P/bYiz4zMHeu41Zsviiq9iACd6fU0ML8Oo5gjKlTeGKLd83G1ZMmEK2h9l 3mfExDJANqfEtKG+Qpc7ZL9d9RLXjy+DaPuZDIU7Nt7PS22MNQ1czlZUGL2p/x9EkwTR skvg== X-Gm-Message-State: ALoCoQk1NTIhXm0Poi4n8u6Wi33hz9B8gfZxc1VwcVKqICNaPYkSCyRRys+osyGk2zI+tosx9CyN X-Received: by 10.66.197.231 with SMTP id ix7mr6738080pac.9.1432222226879; Thu, 21 May 2015 08:30:26 -0700 (PDT) Received: from localhost ([104.207.83.1]) by mx.google.com with ESMTPSA id ud3sm19576919pbc.10.2015.05.21.08.30.24 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 21 May 2015 08:30:25 -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 v2] ACPI / PCI: remove stale list_head in struct acpi_prt_entry Date: Thu, 21 May 2015 23:29:26 +0800 Message-Id: <1432222166-9198-1-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP list_head "list" in struct acpi_prt_entry was used to connect _PRT entries for PCI irq, but after commit 181380b702ee ("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 Acked-by: Bjorn Helgaas CC: Yinghai Lu CC: Yijing Wang --- v2: use the canonical commit reference format as Bjorn suggested. 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;