OSDN Git Service

ACPI / scan: Drop unnecessary label from acpi_create_platform_device()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 Aug 2013 23:11:33 +0000 (01:11 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 Aug 2013 23:11:33 +0000 (01:11 +0200)
commitd2fe7251a36012bc552a4c95246d486a8e284043
treeca4a9e7b9ba148797e8bc899ac114343e3b488f9
parentcaf5c03f17c33a14ef0e7033000f89e4d0910f5a
ACPI / scan: Drop unnecessary label from acpi_create_platform_device()

The create_dev label in acpi_create_platform_device() is not
necessary, because the if statement causing the jump to it to
happen may be rearranged to avoid that jump.

Rework the code accordingly (no functional changes should result
drom that).

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_platform.c