Commit d98f096c authored by Saurav Girepunje's avatar Saurav Girepunje Committed by Greg Kroah-Hartman
Browse files

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: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarSaurav Girepunje <saurav.girepunje@gmail.com>
Link: https://lore.kernel.org/r/YVnTJCoz2qsXDXGc@user


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0d197f20
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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);