mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 06:10:45 -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:
committed by
Greg Kroah-Hartman
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;
|
||||
|
||||
Reference in New Issue
Block a user