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
@ -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 New Issue
Block a user