From patchwork Wed Dec 19 17:30:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 207461 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id DAC732C0094 for ; Thu, 20 Dec 2012 04:30:47 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755726Ab2LSRaq (ORCPT ); Wed, 19 Dec 2012 12:30:46 -0500 Received: from mail-vc0-f202.google.com ([209.85.220.202]:51279 "EHLO mail-vc0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755723Ab2LSRaq (ORCPT ); Wed, 19 Dec 2012 12:30:46 -0500 Received: by mail-vc0-f202.google.com with SMTP id m8so250790vcd.3 for ; Wed, 19 Dec 2012 09:30:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:subject:to:from:cc:date:message-id:user-agent :mime-version:content-type:content-transfer-encoding; bh=ciQkYkqgT8ua4Xtw/LSEwj+9FpcWQ55kBiBf/X1VJvM=; b=ibfXTCLhDyxZe6G9GEbhnLKApjRP55IPoWQni9HFSC4LyfFXH7bOcN7/Wy/UPGWvRz yCaG5qGNC4J4Ok7hguV0Ch+KQ7fEFvuOfAtkcNJLtAfJ0WdezqMjBSnn8cRNOFljZ/i0 0AxonM2zUt8mzwA/fyMzJhZYCpFm1DYFSz2qyyFjeK5tFtFmhKAnlTpVq4Lch9VXkH31 T3G+ON1Mz2arwQ5DzU59WI6cGOt6URWOmiJf1WV4rnanaOEuXOtpNnepSiAp1HYGyZQS 0zeX1dRKP15HkRv8AnUX3K+cuC8BZ+eMcWNKuRYjrFxFpmMX5itFzGGWIXpKqL9mgi/2 kZDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:subject:to:from:cc:date:message-id:user-agent :mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=ciQkYkqgT8ua4Xtw/LSEwj+9FpcWQ55kBiBf/X1VJvM=; b=NrSD+9khIohgwHuLZuAuzVpsQwCfVrSwD/md4RsPHDt4QzphW0hGsYzOACOC/8I5Pr kcP+McD17QLsaaZgeIy801r+IFDweFLZhhQrfve7pgoBw2pNZ72dOqj2yGoOUAv0//Ll zd6OoYM+GtOqt0Z3bivkhfUhqUOSoZtB3vMZjdR0ElRp4Kv1jIZn1Dh033w+htQe4lWD dquVJRsI5vzID9X/fNd1F30fkS0mzzHQ18TrQEq6T+mJo7iJkSK9+TzC4qWRj1vxr+FJ PPN2sjOzxvbUxUpMB1gfVd6vZbE5+4faDRqncJ+OuIhu++4BB3cH0mo//+yAGE5gUd1+ 1mzg== X-Received: by 10.236.122.9 with SMTP id s9mr2682602yhh.23.1355938245279; Wed, 19 Dec 2012 09:30:45 -0800 (PST) Received: from wpzn4.hot.corp.google.com (216-239-44-65.google.com [216.239.44.65]) by gmr-mx.google.com with ESMTPS id p19si502170yhi.1.2012.12.19.09.30.45 (version=TLSv1/SSLv3 cipher=AES128-SHA); Wed, 19 Dec 2012 09:30:45 -0800 (PST) Received: from bhelgaas.mtv.corp.google.com (bhelgaas.mtv.corp.google.com [172.17.131.112]) by wpzn4.hot.corp.google.com (Postfix) with ESMTP id 30C49820050; Wed, 19 Dec 2012 09:30:45 -0800 (PST) Received: from bhelgaas.mtv.corp.google.com (unknown [IPv6:::1]) by bhelgaas.mtv.corp.google.com (Postfix) with ESMTP id D6103180187; Wed, 19 Dec 2012 09:30:44 -0800 (PST) Subject: [PATCH] ACPI: Remove unused struct acpi_pci_root.id member To: "Rafael J. Wysocki" From: Bjorn Helgaas Cc: linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org Date: Wed, 19 Dec 2012 10:30:44 -0700 Message-ID: <20121219173044.12424.11336.stgit@bhelgaas.mtv.corp.google.com> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlCj4PmatkTrR4kNN46G68UWHVaJiwcNBFkiXPX9FLV1HVvjQ0m1v5/BFEZzXfqyG72M0DofgRKI3ESOphAMjrrwNrGB/6Ma807Bs9HUZtIDMvysUBmM+aH8V1nr0McJL/yIf2M1qS4wcu7+FdNCK8W5qnPUiucBAoEl1smkzCnrF7FJbROBQoGrgA6tiK4JPSb2Yq0MZi71Vt2jeB72ZV6XSRrqQ== Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org This member is never initialized and never referenced, so remove it. Signed-off-by: Bjorn Helgaas --- include/acpi/acpi_bus.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 7ced5dc..4f42c0e 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -397,7 +397,6 @@ int unregister_acpi_bus_type(struct acpi_bus_type *); struct acpi_pci_root { struct list_head node; struct acpi_device * device; - struct acpi_pci_id id; struct pci_bus *bus; u16 segment; struct resource secondary; /* downstream bus range */