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: 48856 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C01F22121F for ; Thu, 21 May 2015 15:30:39 +0000 (UTC) Received: by wgbgf7 with SMTP id gf7sf25941147wgb.2 for ; Thu, 21 May 2015 08:30:39 -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=3KVfZD8HEojq4in0eityFEHe10XeStB7RGjQnLKUAxk=; b=Tn0dcq086hkHOi8Pgz7teSrPM8S2G6av2c8KLRjSifyCbOsd6DVwTJIVxUfAZ8uulb McHhCv86NFJwXixmpi2kjb5XycZbTSxzIZrJvx8s+sfPARTf8Ol62UP6DzKlOxKjDDal ZAl/5PkXe+8YVZA9knO4Ya98TtM661Dt89BK86CLBzllrZRGeiXecTj76VYR7CjmVcu2 HZeo9Ib/CsXP/M3aSM727YQzFaaygLv5lZ3imhimpg/TW/VR4I5M5w4Ku8IderDnBvNu pCP3xEUHjlsB8wwQHUrw/UBB351tYPxBzzasOg/bDPcvtuI+cB0A0bdedsrw3zH7xn0J rh9Q== X-Gm-Message-State: ALoCoQlx4IwVH01hgzasJTZKw3mYL63j6SVUsGsUfSWQi8ExE2/1Sv6xOp13mizyOCSReUDa/hPU X-Received: by 10.112.13.200 with SMTP id j8mr3151222lbc.14.1432222239052; Thu, 21 May 2015 08:30:39 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.19.231 with SMTP id i7ls344723lae.85.gmail; Thu, 21 May 2015 08:30:38 -0700 (PDT) X-Received: by 10.152.43.37 with SMTP id t5mr2696477lal.96.1432222238897; Thu, 21 May 2015 08:30:38 -0700 (PDT) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id h3si13470396lbj.145.2015.05.21.08.30.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 May 2015 08:30:38 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by labbd9 with SMTP id bd9so106217179lab.2 for ; Thu, 21 May 2015 08:30:38 -0700 (PDT) X-Received: by 10.112.198.74 with SMTP id ja10mr2758653lbc.19.1432222238768; Thu, 21 May 2015 08:30:38 -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 hn6csp674953lbb; Thu, 21 May 2015 08:30:37 -0700 (PDT) X-Received: by 10.68.192.74 with SMTP id he10mr6770624pbc.30.1432222236814; Thu, 21 May 2015 08:30:36 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t5si32250880pdm.57.2015.05.21.08.30.29; Thu, 21 May 2015 08:30:36 -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 S964957AbbEUPa2 (ORCPT + 7 others); 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-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: 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.215.46 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 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;