Re: [PATCH] platform/x86: hp-wmi: Remove unused macro helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jul 30, 2017 at 6:40 PM, Paulo Alcantara <pcacjr@xxxxxxxxx> wrote:

Pushed for testing with correct commit message.
Please, fill it in the future, thanks!

> Signed-off-by: Paulo Alcantara <pcacjr@xxxxxxxxx>
> ---
>  drivers/platform/x86/hp-wmi.c | 7 -------
>  1 file changed, 7 deletions(-)
>
> diff --git a/drivers/platform/x86/hp-wmi.c b/drivers/platform/x86/hp-wmi.c
> index 0df4209648d1..5a88553e31e9 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;
> --
> 2.11.0
>



-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux