staging:rtl8712:Fix compressed return statement

Fix reported by coccinelle compressing last two lines with single return
call

Signed-off-by: Prasanna Karthik <mkarthi3@visteon.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Prasanna Karthik 2015-06-04 04:48:51 +00:00 committed by Greg Kroah-Hartman
parent 4abce83dca
commit 05871f994e

View File

@ -270,12 +270,10 @@ void r8712_init_bcmc_stainfo(struct _adapter *padapter)
struct sta_info *r8712_get_bcmc_stainfo(struct _adapter *padapter)
{
struct sta_info *psta;
struct sta_priv *pstapriv = &padapter->stapriv;
u8 bc_addr[ETH_ALEN] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
psta = r8712_get_stainfo(pstapriv, bc_addr);
return psta;
return r8712_get_stainfo(pstapriv, bc_addr);
}