提交 50c55168 编写于 作者: P Paulo Alcantara 提交者: Andy Shevchenko

platform/x86: hp-wmi: Remove unused macro helper

The commit d8193cff
    ("platform/x86: hp-wmi: Standardize enum usage for constants")
introduced a macro that had been never used.

Remove it.
Signed-off-by: NPaulo Alcantara <pcacjr@zytor.com>
[andy wrote commit message]
Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
上级 fbcb4a57
...@@ -107,13 +107,6 @@ enum hp_wmi_hardware_mask { ...@@ -107,13 +107,6 @@ enum hp_wmi_hardware_mask {
HPWMI_TABLET_MASK = 0x04, 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 { struct bios_return {
u32 sigpass; u32 sigpass;
u32 return_code; u32 return_code;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册