From 50c55168d78eac9ef49a0953155b216bc685062a Mon Sep 17 00:00:00 2001 From: Paulo Alcantara Date: Sun, 30 Jul 2017 12:40:50 -0300 Subject: 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 --- drivers/platform/x86/hp-wmi.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'drivers/platform') 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; -- cgit v1.2.3