mfd: da9063: Remove unused array mask_events_buf
authorColin Ian King <colin.king@canonical.com>
Sun, 20 Mar 2016 18:53:57 +0000 (18:53 +0000)
committerLee Jones <lee.jones@linaro.org>
Mon, 11 Apr 2016 12:31:38 +0000 (13:31 +0100)
mask_events_buf is not used, so remove this redundant array.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/da9063-irq.c

index 26302634633c73383526eab7cb62fa2550961183..0aa760e155ec8b750d2fce021af764c05511a0d3 100644 (file)
@@ -27,8 +27,6 @@
 #define        DA9063_REG_EVENT_D_OFFSET       3
 #define EVENTS_BUF_LEN                 4
 
-static const u8 mask_events_buf[] = { [0 ... (EVENTS_BUF_LEN - 1)] = ~0 };
-
 struct da9063_irq_data {
        u16 reg;
        u8 mask;