summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPaulo Alcantara <pcacjr@zytor.com>2017-07-30 17:40:50 +0200
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-08-13 14:26:54 +0200
commit50c55168d78eac9ef49a0953155b216bc685062a (patch)
tree76f6520dc4d94bdafc8fcfb43f9a5b05cb1a565b /drivers
parentplatform/x86: hp-wmi: Correctly determine method id in WMI calls (diff)
downloadlinux-50c55168d78eac9ef49a0953155b216bc685062a.tar.xz
linux-50c55168d78eac9ef49a0953155b216bc685062a.zip
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 <pcacjr@zytor.com> [andy wrote commit message] Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/platform/x86/hp-wmi.c7
1 files changed, 0 insertions, 7 deletions
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;