]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hp-wireless: remove unneeded goto/label in hpwl_init
authorGiedrius Statkevičius <giedrius.statkevicius@gmail.com>
Sun, 23 Aug 2015 11:41:09 +0000 (14:41 +0300)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 26 Aug 2015 06:34:15 +0000 (23:34 -0700)
commitfc0bfacd045a17e385b4272dfe2387ba3a6d8745
tree5e9946911623a99bfc715ce064b3f7ebc585efbb
parent6d212b8adce4ddaa20229f781cc86bccb396a9fe
hp-wireless: remove unneeded goto/label in hpwl_init

acpi_bus_register_driver() already returns an appropriate value (0 on
success, and some negative value on error) to be used in __init functions
so the goto/label is redundant in hpwl_init thus remove it and directly
return the value

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/hp-wireless.c