Re: [PATCH] hp-wireless: remove unneeded goto/label in hpwl_init

2015-08-26 Thread Darren Hart
On Sun, Aug 23, 2015 at 02:41:09PM +0300, Giedrius Statkevičius wrote: 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

[PATCH] hp-wireless: remove unneeded goto/label in hpwl_init

2015-08-23 Thread Giedrius Statkevičius
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