mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
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
1 changed files with 2 additions and 3 deletions
|
|
@ -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…
Reference in a new issue