staging: rtl8723bs: core: Remove else after return statement.

Remove else after return statement as it is not useful. Issue found
using checkpatch.

Signed-off-by: Vatsala Narang <vatsalanarang@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Vatsala Narang 2019-04-29 10:06:53 +05:30 committed by Greg Kroah-Hartman
parent 852b4eddaf
commit 9358bd52ec

View File

@ -697,10 +697,9 @@ unsigned int OnProbeReq(struct adapter *padapter, union recv_frame *precv_frame)
psta->aid = 0;
DBG_871X("no room for more AIDs\n");
return _SUCCESS;
} else {
pstapriv->sta_aid[psta->aid - 1] = psta;
DBG_871X("allocate new AID = (%d)\n", psta->aid);
}
pstapriv->sta_aid[psta->aid - 1] = psta;
DBG_871X("allocate new AID = (%d)\n", psta->aid);
}
psta->qos_option = 1;