Skip to content
Commit fc0bfacd authored by Giedrius Statkevičius's avatar Giedrius Statkevičius Committed by Darren Hart
Browse files

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: default avatarGiedrius Statkevičius <giedrius.statkevicius@gmail.com>
Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
parent 6d212b8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment