ACPI: debug: Clean up acpi_aml_init()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 24 Jan 2019 10:25:59 +0000 (11:25 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 24 Jan 2019 21:46:04 +0000 (22:46 +0100)
commit6010ce3f2e57a4a30327abba528876bd7c8cbd36
tree3debed5337198485191599eb8648e96f5242804f
parent9ec6dbfbdc0ade855e6bc1da66e263e0d926697c
ACPI: debug: Clean up acpi_aml_init()

The err_exit label in acpi_aml_init() is not used any more after
commit 9ec6dbfbdc0a ("ACPI: no need to check return value of
debugfs_create functions"), but the other label in there is not
necessary too, so rearrange the code to get rid of them both.

No intentional functional impact.

Fixes: 9ec6dbfbdc0a ("ACPI: no need to check return value of debugfs_create functions")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_dbg.c