]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: remove the "dump rx packet" fragments
authorMartin Kaiser <martin@kaiser.cx>
Wed, 30 Mar 2022 20:12:09 +0000 (22:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Apr 2022 05:33:48 +0000 (07:33 +0200)
commit124f86c81e3982a52276dcf69600d0e3fc39bf81
tree62d54fe4d71818f5720ddb1eb08fdea2c0b6add3
parent116b1865cf580bf9bd47b69edbbb8916523882b4
staging: r8188eu: remove the "dump rx packet" fragments

Remove the code fragments for printing incoming packets. There's only a
hal variable HAL_DEF_DBG_DUMP_RXPKT and the bDumpRxPkt component of
struct hal_data_8188e.

The hal variable is set by a private ioctl, it's read in
validate_recv_frame but it's not used.

All of this can be removed, there's no code to dump the packets.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220330201210.175941-2-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_recv.c
drivers/staging/r8188eu/hal/usb_halinit.c
drivers/staging/r8188eu/include/hal_intf.h
drivers/staging/r8188eu/include/rtl8188e_hal.h
drivers/staging/r8188eu/os_dep/ioctl_linux.c