Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756278AbcCTSyQ (ORCPT ); Sun, 20 Mar 2016 14:54:16 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:34197 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756013AbcCTSyA (ORCPT ); Sun, 20 Mar 2016 14:54:00 -0400 From: Colin King To: Support Opensource , Lee Jones Cc: linux-kernel@vger.kernel.org Subject: [PATCH] mfd: da9063: remove unused array mask_events_buf Date: Sun, 20 Mar 2016 18:53:57 +0000 Message-Id: <1458500037-19153-1-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 2.7.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 616 Lines: 24 From: Colin Ian King mask_events_buf is not used, so remove this redundant array. Signed-off-by: Colin Ian King --- 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 -static const u8 mask_events_buf[] = { [0 ... (EVENTS_BUF_LEN - 1)] = ~0 }; - struct da9063_irq_data { u16 reg; u8 mask; -- 2.7.3