lkml.org 
[lkml]   [2014]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Staging: rtl8712 removed unnecessary else after return
> 
> 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


\
 
 \ /
  Last update: 2014-10-02 10:21    [W:0.059 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site