From ffa3e77ca71d0463cf97efec9c83ade36fac3894 Mon Sep 17 00:00:00 2001 From: Phillip Potter Date: Thu, 24 Jun 2021 00:48:59 +0100 Subject: [PATCH] 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 --- drivers/staging/rtl8188eu/include/rtw_debug.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_debug.h b/drivers/staging/rtl8188eu/include/rtw_debug.h index a1b25ca16d28..ac123ddb8acb 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) \