summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8723bs
diff options
context:
space:
mode:
authorSaurav Girepunje <saurav.girepunje@gmail.com>2021-10-03 21:28:28 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-05 12:28:15 +0200
commitd98f096cf5e1a339a77b7993423f7f62bcdebfbb (patch)
treef3df777c6d1d746d11d9ed7d68ae1cc0acf7ada9 /drivers/staging/rtl8723bs
parent0d197f2088e6c116d33ab9af66daac8be45f1a4b (diff)
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>
Diffstat (limited to 'drivers/staging/rtl8723bs')
-rw-r--r--drivers/staging/rtl8723bs/core/rtw_mlme_ext.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
index 39adec475581..9961af8de40f 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
@@ -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);