lkml.org 
[lkml]   [2016]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] mfd: da9063: remove unused array mask_events_buf
Date
On 20 March 2016 18:54 Colin King wrote:

> Subject: [PATCH] mfd: da9063: remove unused array mask_events_buf
> From: Colin Ian King <colin.king@canonical.com>
>
> mask_events_buf is not used, so remove this redundant array.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
> drivers/mfd/da9063-irq.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/mfd/da9063-irq.c b/drivers/mfd/da9063-irq.c
> index 2630263..0aa760e 100644
> --- a/drivers/mfd/da9063-irq.c
> +++ b/drivers/mfd/da9063-irq.c
> @@ -27,8 +27,6 @@
> #define DA9063_REG_EVENT_D_OFFSET 3
> #define EVENTS_BUF_LEN 4

I guess EVENTS_BUF_LEN can go as well.
If this is not added, I will send a patch later.

Regards,
Steve

Acked-by: Steve Twiss <stwiss.opensource@diasemi.com>

>
> -static const u8 mask_events_buf[] = { [0 ... (EVENTS_BUF_LEN - 1)] = ~0 };
> -
> struct da9063_irq_data {
> u16 reg;
> u8 mask;
> --
> 2.7.3


\
 
 \ /
  Last update: 2016-03-21 12:21    [W:0.363 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site