Messages in this thread Patch in this message | | | From | Phillip Potter <> | Subject | [PATCH 7/7] staging: r8188eu: remove DBG_88E_LEVEL macro from include/rtw_debug.h | Date | Mon, 29 Nov 2021 00:20:41 +0000 |
| |
Remove the DBG_88E_LEVEL macro definition from include/rtw_debug.h, as it has no callers and is surplus to requirements. This is motivated by ongoing efforts to remove all non-standard debugging code from the driver.
Signed-off-by: Phillip Potter <phil@philpotter.co.uk> --- drivers/staging/r8188eu/include/rtw_debug.h | 6 ------ 1 file changed, 6 deletions(-)
diff --git a/drivers/staging/r8188eu/include/rtw_debug.h b/drivers/staging/r8188eu/include/rtw_debug.h index 39b69b9ad0a3..311051757715 100644 --- a/drivers/staging/r8188eu/include/rtw_debug.h +++ b/drivers/staging/r8188eu/include/rtw_debug.h @@ -54,12 +54,6 @@ extern u32 GlobalDebugLevel; -#define DBG_88E_LEVEL(_level, fmt, arg...) \ - do { \ - if (_level <= GlobalDebugLevel) \ - pr_info(DRIVER_PREFIX"INFO " fmt, ##arg); \ - } while (0) - #define DBG_88E(...) \ do { \ if (_drv_err_ <= GlobalDebugLevel) \ -- 2.33.1
| |