From: Colin Ian King Date: Sun, 20 Mar 2016 18:53:57 +0000 (+0000) Subject: mfd: da9063: Remove unused array mask_events_buf X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=65433fd561f089f232758efc2c6566b6b6febb47;p=openwrt%2Fstaging%2Fblogic.git mfd: da9063: Remove unused array mask_events_buf mask_events_buf is not used, so remove this redundant array. Signed-off-by: Colin Ian King Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/da9063-irq.c b/drivers/mfd/da9063-irq.c index 26302634633c..0aa760e155ec 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 -static const u8 mask_events_buf[] = { [0 ... (EVENTS_BUF_LEN - 1)] = ~0 }; - struct da9063_irq_data { u16 reg; u8 mask;