[PATCH] Staging: rtl8712 removed unnecessary else after return

Nitin Kuppelur nitinkuppelur at gmail.com
Thu Oct 2 07:39:42 UTC 2014


> 
> Perhaps a more common style is to use:
> 
> 	if (!padapter->halpriv.hal_bus_init ||
> 	    padapter->halpriv.hal_bus_init(padapter) != _SUCCESS)
> 		return _FAIL;
> 
> 
Agreed. I will send updated patch.

Regards,
Nitin


More information about the devel mailing list