platform/x86: hp-wmi: Remove unused macro helper
PATCH 1/1 platform/x86: hp-wmi: Remove unused macro helper
Signed-off-by Paulo Alcantara <[email protected]>
--- drivers/platform/x86/hp-wmi.c | 7 ------- 1 file changed, 7 deletions(-)
drivers/platform/x86/hp-wmi.c +0 -7
@@ -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;
Signature · 1 line
2.11.0
On Sun, Jul 30, 2017 at 6:40 PM, Paulo Alcantara <[email protected]> wrote:
Pushed for testing with correct commit message.
Please, fill it in the future, thanks!
Quoted 26 lines
Signed-off-by Paulo Alcantara <[email protected]>--- drivers/platform/x86/hp-wmi.c | 7 ------- 1 file changed, 7 deletions(-)drivers/platform/x86/hp-wmi.c +0
-8@@ -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; --2.11.0
Signature · 2 lines
With Best Regards, Andy Shevchenko