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:
parent
852b4eddaf
commit
9358bd52ec
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user