From: Phillip Potter Date: Wed, 23 Jun 2021 23:48:59 +0000 (+0100) Subject: staging: rtl8188eu: remove DBG_88E_LEVEL macro from include/rtw_debug.h X-Git-Tag: v5.15~790^2~53 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ffa3e77ca71d0463cf97efec9c83ade36fac3894;p=platform%2Fkernel%2Flinux-starfive.git staging: rtl8188eu: remove DBG_88E_LEVEL macro from include/rtw_debug.h Remove definition of DBG_88E_LEVEL macro from include/rtw_debug.h, as it no longer has any callers and does not follow kernel coding conventions. Removing all such macros will ultimately allow the removal of this file. Signed-off-by: Phillip Potter Link: https://lore.kernel.org/r/20210623234902.7411-7-phil@philpotter.co.uk Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/include/rtw_debug.h b/drivers/staging/rtl8188eu/include/rtw_debug.h index a1b25ca..ac123dd 100644 --- a/drivers/staging/rtl8188eu/include/rtw_debug.h +++ b/drivers/staging/rtl8188eu/include/rtw_debug.h @@ -58,12 +58,6 @@ extern u32 GlobalDebugLevel; -#define DBG_88E_LEVEL(_level, fmt, arg...) \ - do { \ - if (_level <= GlobalDebugLevel) \ - pr_info(DRIVER_PREFIX fmt, ##arg); \ - } while (0) - #define MSG_88E(...) \ do { \ if (_drv_err_ <= GlobalDebugLevel) \