From: Rafael J. Wysocki Date: Sat, 13 Jul 2013 21:27:25 +0000 (+0200) Subject: ACPI / hotplug / PCI: Drop flags field from struct acpiphp_bridge X-Git-Tag: v3.12-rc1~178^2~16^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75a33ed1b58005e455cb6533a7689ac0eb6bedd6;p=pandora-kernel.git ACPI / hotplug / PCI: Drop flags field from struct acpiphp_bridge The only bridge flag used by the ACPI-based PCI hotplug (ACPIPHP) code is BRIDGE_HAS_EJ0, but it is only used by the event handling function hotplug_event() and if that flag is set, the corresponding function flag FUNC_HAS_EJ0 is set as well, so that bridge flag is redundant. For this reason, drop BRIDGE_HAS_EJ0 and all code referring to it and since it is the only bridge flag defined, drop the flags field from struct acpiphp_bridge entirely. Signed-off-by: Rafael J. Wysocki Tested-by: Mika Westerberg --- Reading git-diff-tree failed