From: Rafael J. Wysocki Date: Sat, 13 Jul 2013 21:27:24 +0000 (+0200) Subject: ACPI / hotplug / PCI: Refactor slot allocation code in register_slot() X-Git-Tag: v3.12-rc1~178^2~16^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac372338b750648355bcc64bb0bca13fc6f0a3d5;p=pandora-kernel.git ACPI / hotplug / PCI: Refactor slot allocation code in register_slot() To make the code in register_slot() a bit easier to follow, change the way the slot allocation part is organized. Drop one local variable that's not used any more after that modification. This code change should not lead to any changes in behavior. Signed-off-by: Rafael J. Wysocki Tested-by: Mika Westerberg --- Reading git-diff-tree failed