From: Paulo Alcantara Date: Sun, 30 Jul 2017 15:40:50 +0000 (-0300) Subject: platform/x86: hp-wmi: Remove unused macro helper X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=50c55168d78eac9ef49a0953155b216bc685062a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git platform/x86: hp-wmi: Remove unused macro helper 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 [andy wrote commit message] Signed-off-by: Andy Shevchenko --- diff --git a/drivers/platform/x86/hp-wmi.c b/drivers/platform/x86/hp-wmi.c index c2ca5c22f8d2..b4ed3dc983d5 100644 --- a/drivers/platform/x86/hp-wmi.c +++ b/drivers/platform/x86/hp-wmi.c @@ -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;