[PATCH 8/24][Resend] ACPI / hotplug / PCI: Simplify register_slot()

2014-02-03 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The err label in register_slot() is only jumped to from one place, so move the code under the label to that place and drop the label. Signed-off-by: Rafael J. Wysocki Tested-by: Mika Westerberg --- drivers/pci/hotplug/acpiphp_glue.c | 12 1 file

[PATCH 8/24][Resend] ACPI / hotplug / PCI: Simplify register_slot()

2014-02-03 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com The err label in register_slot() is only jumped to from one place, so move the code under the label to that place and drop the label. Signed-off-by: Rafael J. Wysocki rafael.j.wyso...@intel.com Tested-by: Mika Westerberg