Search Linux Wireless

Re: [PATCH 29/38] staging: wilc1000: remove goto from linux_wlan_start_firmware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 02, 2015 at 05:51:12PM +0900, Glen Lee wrote:
>  	PRINT_D(INIT_DBG, "Waiting for Firmware to get ready ...\n");
>  	ret = linux_wlan_lock_timeout(&wilc->sync_event, 5000);
>  	if (ret) {
>  		PRINT_D(INIT_DBG, "Firmware start timed out");
> -		goto _fail_;
> +		return ret;
>  	}
>  	PRINT_D(INIT_DBG, "Firmware successfully started\n");
>  
> -_fail_:
>  	return ret;

In a later patch, could you change this from "return ret;" to
"return 0;"

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux