mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
staging: r8188eu: core: remove condition never execute
Remove condition which never get execute. as pattrib->mdata is always zero before if condition check. Acked-by: Phillip Potter <phil@philpotter.co.uk> Acked-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com> Link: https://lore.kernel.org/r/YTNrjG1y05ByN54+@user Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
965da82bce
commit
8dac1203cd
@@ -5669,9 +5669,6 @@ static int _issue_qos_nulldata(struct adapter *padapter, unsigned char *da, u16
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user