Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754920AbcCULyJ (ORCPT ); Mon, 21 Mar 2016 07:54:09 -0400 Received: from mail-wm0-f48.google.com ([74.125.82.48]:33375 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753738AbcCULx7 (ORCPT ); Mon, 21 Mar 2016 07:53:59 -0400 Date: Mon, 21 Mar 2016 11:53:55 +0000 From: Lee Jones To: Colin King Cc: Support Opensource , linux-kernel@vger.kernel.org Subject: Re: [PATCH] mfd: da9063: remove unused array mask_events_buf Message-ID: <20160321115355.GA4140@x1> References: <1458500037-19153-1-git-send-email-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1458500037-19153-1-git-send-email-colin.king@canonical.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 928 Lines: 34 On Sun, 20 Mar 2016, Colin King wrote: > 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(-) I've amended the $SUBJECT line to conform to the subsystem style. Patch applied, thanks. > 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; -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog