Skip to contentSkip to conversation

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

PATCH In review Paulo Alcantara 2 participants 2 messages Jul 30, 2017 – Aug 13, 2017 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

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

---
 drivers/platform/x86/hp-wmi.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/platform/x86/hp-wmi.c +0 -7
index 0df4209648d1..5a88553e31e9 100644
@@ -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
#1 lore raw

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
---
 drivers/platform/x86/hp-wmi.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/platform/x86/hp-wmi.c +0 -8
index 0df4209648d1..5a88553e31e9 100644
@@ -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