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: 6455581 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 B35CC9F399 for ; Thu, 21 May 2015 13:53:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C650D20460 for ; Thu, 21 May 2015 13:53:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EC4A420459 for ; Thu, 21 May 2015 13:53:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755260AbbEUNxW (ORCPT ); Thu, 21 May 2015 09:53:22 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:33882 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755284AbbEUNxV (ORCPT ); Thu, 21 May 2015 09:53:21 -0400 Received: by pabru16 with SMTP id ru16so106186735pab.1 for ; Thu, 21 May 2015 06:53:21 -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=YRQyTGkTgN8wwp2dTLzPdMCZGGIdPtY0PjuNGFWPa1w=; b=cy/ogEnWlP648hj8yjNfdYyawEQ3gfCXPdV2JnkK3FOeyYOp2ZfylGYYCi3JN27mon Gdtvb+s00fsR8XbGvLu0QXOnf65wYTjzshnUunbZm+oIVeXJTHn89OfE782d9sMAHYa0 ZHL794ysPpFdKdJKSCi1W8OYcjBuAuVQFByfnUevryB4i3wiZ6BxCq3TXzRaLchkHBNP TN7tHmRMHrt5K0kDUrXXnQ7o5mlgHzW6D9XRWsm+ZACruGY7HUuC5QMBswQPGhxJuMf0 oNw6EUK2IblP73RJYDcv9dyeFGXiACqOZV7sgmAqUyZ1rEWgcroQFTnWy9yyWaunb1cg C0Dg== X-Gm-Message-State: ALoCoQknryphODLyBOfyDS/5FED/HSPiIiHMx3tNoKOS+DDOCsK8umcUeL8tgYTpTelLgETopXGQ 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-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 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 Acked-by: Bjorn Helgaas --- 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;