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: 6456511 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CB3B69F318 for ; Thu, 21 May 2015 15:30:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2962520494 for ; Thu, 21 May 2015 15:30:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0249020459 for ; Thu, 21 May 2015 15:30:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964946AbbEUPa2 (ORCPT ); Thu, 21 May 2015 11:30:28 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:36071 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964956AbbEUPa1 (ORCPT ); Thu, 21 May 2015 11:30:27 -0400 Received: by pabts4 with SMTP id ts4so108837892pab.3 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=dg5iOBt9CkcZ4V1jypiyRgFBOhZFLrO1Ib/aaVbL/thP8Okb7eznEce3O9R6SKGTBx EZgnhhTSBBvV0Gm3rV8YJyZrg/SKpJFPfu56Xs1n0ELdVtT/k8gokl20duZHzRqjk/Jt Mqro53Yxrkjb6LEsgKhU0B/XjAdvdKY+xykB4wYJTb9B+FecQOez2QoG33SIF/Sg6qlU dIQNvq/1B3QJ0oCaQSCpRysZmrBGCJe2bvwNGvSUofKvFZG2bxz/gwbyGGZfcNTFnnYD Mmxp3uPI/BOPlGxPkJBPQSxd6SbJGun8jW4aa5eYG112tkHpuQEAPQWKnif1I7ePSFCD 9cRA== X-Gm-Message-State: ALoCoQlsPTx+Zz+6sn9E+EXNTZkyOnJeSypt/GhGiunVG8g8msAnKV71h40/It0ycyE/2WncK4Np 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-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@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=unavailable 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;