]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
x86: acer-wmi: remove unused macros
authorBa Jing <bajing@cmss.chinamobile.com>
Mon, 14 Oct 2024 18:38:56 +0000 (02:38 +0800)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 16 Oct 2024 12:22:19 +0000 (15:22 +0300)
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 <bajing@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20241014183856.3942-1-bajing@cmss.chinamobile.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/acer-wmi.c

index 7169b84ccdb6e2d21a927c7a9747f9823afc51bb..ae916a7a01cad8407fec7b7e6bb935a83cc22f6a 100644 (file)
@@ -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;