platform/x86: hp-wmi: Remove unused macro helper
authorPaulo Alcantara <pcacjr@zytor.com>
Sun, 30 Jul 2017 15:40:50 +0000 (12:40 -0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 13 Aug 2017 12:26:54 +0000 (15:26 +0300)
The commit d8193cff3390
    ("platform/x86: hp-wmi: Standardize enum usage for constants")
introduced a macro that had been never used.

Remove it.

Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
[andy wrote commit message]
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/hp-wmi.c

index c2ca5c2..b4ed3dc 100644 (file)
@@ -107,13 +107,6 @@ enum hp_wmi_hardware_mask {
        HPWMI_TABLET_MASK       = 0x04,
 };
 
-#define BIOS_ARGS_INIT(write, ctype, size)                             \
-       (struct bios_args)      {       .signature = 0x55434553,        \
-                                       .command = (write) ? 0x2 : 0x1, \
-                                       .commandtype = (ctype),         \
-                                       .datasize = (size),             \
-                                       .data = 0 }
-
 struct bios_return {
        u32 sigpass;
        u32 return_code;