staging: rtl8723bs: remove empty for cycles left by DBG_871X removal

remove empty for cycles and unused counter variables to suppress
compiler warnings.

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/fe758f88ef6d6eaad9762d16d78dcfa876fcf654.1617802415.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Fabio Aiuto 2021-04-07 15:49:33 +02:00 committed by Greg Kroah-Hartman
parent 3dc682aed3
commit 3f85c670a2
2 changed files with 0 additions and 11 deletions

View file

@ -1454,10 +1454,6 @@ validate_80211w_fail:
static inline void dump_rx_packet(u8 *ptr)
{
int i;
for (i = 0; i < 64; i = i+8)
{}
}
static signed int validate_recv_frame(struct adapter *adapter, union recv_frame *precv_frame)

View file

@ -571,13 +571,6 @@ static int rtw_set_wpa_ie(struct adapter *padapter, char *pie, unsigned short ie
memcpy(buf, pie, ielen);
/* dump */
{
int i;
for (i = 0; i < ielen; i = i + 8)
{}
}
if (ielen < RSN_HEADER_LEN) {
ret = -1;
goto exit;