From: Phillip Potter Date: Mon, 29 Nov 2021 00:20:41 +0000 (+0000) Subject: staging: r8188eu: remove DBG_88E_LEVEL macro from include/rtw_debug.h X-Git-Tag: v6.1-rc5~2247^2~186 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=505cf656383439ac6031fda6ae1906d8a1b368ea;p=platform%2Fkernel%2Flinux-starfive.git staging: r8188eu: remove DBG_88E_LEVEL macro from include/rtw_debug.h 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 Link: https://lore.kernel.org/r/20211129002041.865-8-phil@philpotter.co.uk Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/r8188eu/include/rtw_debug.h b/drivers/staging/r8188eu/include/rtw_debug.h index 39b69b9..3110517 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) \