mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
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>
This commit is contained in:
parent
6caa63431a
commit
7493412df4
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user