mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
staging: rtl8723bs: core: remove condition never execute
Remove condition which never get execute. as pattrib->mdata is always zero before if condition check. Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com> Link: https://lore.kernel.org/r/YVnTJCoz2qsXDXGc@user Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0d197f2088
commit
d98f096cf5
1 changed files with 0 additions and 3 deletions
|
@ -3218,9 +3218,6 @@ static int _issue_qos_nulldata(struct adapter *padapter, unsigned char *da,
|
|||
else if ((pmlmeinfo->state&0x03) == WIFI_FW_STATION_STATE)
|
||||
SetToDs(fctrl);
|
||||
|
||||
if (pattrib->mdata)
|
||||
SetMData(fctrl);
|
||||
|
||||
qc = (unsigned short *)(pframe + pattrib->hdrlen - 2);
|
||||
|
||||
SetPriority(qc, tid);
|
||||
|
|
Loading…
Reference in a new issue