staging: r8188eu: convert/remove DBG_88E calls in core/rtw_ap.c
authorPhillip Potter <phil@philpotter.co.uk>
Sat, 8 Jan 2022 00:55:46 +0000 (00:55 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jan 2022 15:15:18 +0000 (16:15 +0100)
commitea9ac80e2eceac6388eea2164e68a53c54d70ca0
treeda41381471f70ba5492f2d16a94c5e38ac73cbca
parent53493c253510d129aa159c0302a490a11dcdbb59
staging: r8188eu: convert/remove DBG_88E calls in core/rtw_ap.c

Convert DBG_88E macro calls in core/rtw_ap.c to use netdev_dbg when they
may display useful information, and remove erroneous DBG_88E calls
entirely.

This leaves six empty static functions which only had DBG_88E calls,
so just remove them:

update_bcn_fixed_ie
update_bcn_htcap_ie
update_bcn_htinfo_ie
update_bcn_rsn_ie
update_bcn_wpa_ie
update_bcn_wmm_ie

also modifying the if blocks/switch cases that invoke them to no longer do
so. This goes further towards the goal of removing this non-standard
debugging code.

Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20220108005550.26264-2-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_ap.c