diff options
| author | Andrei Khomenkov <khomenkov@mailbox.org> | 2026-05-10 16:43:08 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-05-11 10:13:23 +0200 |
| commit | 7493412df4ec2eb38d78570aeceed30d9df07cb6 (patch) | |
| tree | f81c31f47b7eb1a8898e4c0631c34c9b74063fd3 /drivers | |
| parent | 6caa63431a2a2dcab3256148c88ab893eb7ccf0d (diff) | |
staging: rtl8723bs: remove unused DBG_RX_DUMP_EAP code
Remove the DBG_RX_DUMP_EAP code since it is not used as the macro
is not defined anywhere.
Signed-off-by: Andrei Khomenkov <khomenkov@mailbox.org>
Link: https://patch.msgid.link/20260510134315.64295-3-khomenkov@mailbox.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/staging/rtl8723bs/core/rtw_recv.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_recv.c b/drivers/staging/rtl8723bs/core/rtw_recv.c index fc0397ad4741..e9ec6def7216 100644 --- a/drivers/staging/rtl8723bs/core/rtw_recv.c +++ b/drivers/staging/rtl8723bs/core/rtw_recv.c @@ -1491,17 +1491,6 @@ static signed int validate_recv_frame(struct adapter *adapter, union recv_frame struct recv_priv *precvpriv = &adapter->recvpriv; precvpriv->rx_drop++; - } else if (retval == _SUCCESS) { -#ifdef DBG_RX_DUMP_EAP - u8 bDumpRxPkt; - u16 eth_type; - - /* dump eapol */ - rtw_hal_get_def_var(adapter, HAL_DEF_DBG_DUMP_RXPKT, &(bDumpRxPkt)); - /* get ether_type */ - memcpy(ð_type, ptr + pattrib->hdrlen + pattrib->iv_len + LLC_HEADER_LENGTH, 2); - eth_type = ntohs((unsigned short) eth_type); -#endif } break; default: |
