From: Ba Jing Date: Mon, 14 Oct 2024 18:38:56 +0000 (+0800) Subject: x86: acer-wmi: remove unused macros X-Git-Tag: v6.13-rc1~147^2~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dd1233931271f4c7efd5456aaa6e8bb8f77b5e8;p=thirdparty%2Fkernel%2Fstable.git x86: acer-wmi: remove unused macros After reviewing the code, it was found that these macros are never referenced in the code and are all set to 0. They should be removed. Signed-off-by: Ba Jing Link: https://lore.kernel.org/r/20241014183856.3942-1-bajing@cmss.chinamobile.com Reviewed-by: Ilpo Järvinen Signed-off-by: Ilpo Järvinen --- diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index 7169b84ccdb6e..ae916a7a01cad 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -258,11 +258,6 @@ enum interface_flags { ACER_WMID_v2, }; -#define ACER_DEFAULT_WIRELESS 0 -#define ACER_DEFAULT_BLUETOOTH 0 -#define ACER_DEFAULT_MAILLED 0 -#define ACER_DEFAULT_THREEG 0 - static int max_brightness = 0xF; static int mailled = -1;