]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: convert DBG_88E calls in core/rtw_mlme_ext.c
authorPhillip Potter <phil@philpotter.co.uk>
Mon, 10 Jan 2022 09:00:19 +0000 (09:00 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jan 2022 15:27:09 +0000 (16:27 +0100)
commita7fa60c101098f15a1e3dbe2d3a892a1bbd62fe2
tree48554fb3621f4c98fbfffe46b1f2f1fe2c5c109b
parenta12e8151803b2fa392ebef74291d2bfbf3a688aa
staging: r8188eu: convert DBG_88E calls in core/rtw_mlme_ext.c

Convert the DBG_88E macro calls in core/rtw_mlme_ext.c to use pr_debug
or netdev_dbg appropriately, as their information may be useful to
observers, and this gets the driver closer to the point of being
able to remove DBG_88E itself. Also remove some commented out
or unnecessary DBG_88E calls altogether.

Some calls are at points in the call chain where use of dev_dbg or
netdev_dbg isn't possible due to lack of device pointer, so plain
pr_debug is appropriate here.

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