Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755217AbcCUKux (ORCPT ); Mon, 21 Mar 2016 06:50:53 -0400 Received: from mail1.bemta5.messagelabs.com ([195.245.231.141]:46921 "EHLO mail1.bemta5.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755071AbcCUKuI convert rfc822-to-8bit (ORCPT ); Mon, 21 Mar 2016 06:50:08 -0400 X-Greylist: delayed 433 seconds by postgrey-1.27 at vger.kernel.org; Mon, 21 Mar 2016 06:50:08 EDT X-Env-Sender: stwiss.opensource@diasemi.com X-Msg-Ref: server-6.tower-178.messagelabs.com!1458556970!19846434!1 X-Originating-IP: [94.185.165.51] X-StarScan-Received: X-StarScan-Version: 8.11; banners=-,-,- X-VirusChecked: Checked From: "Opensource [Steve Twiss]" To: Colin King , Support Opensource , Lee Jones CC: "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] mfd: da9063: remove unused array mask_events_buf Thread-Topic: [PATCH] mfd: da9063: remove unused array mask_events_buf Thread-Index: AQHRgtnea47sNdf6VkKKJCNOOGW6459jrrLA Date: Mon, 21 Mar 2016 10:42:49 +0000 Message-ID: <6ED8E3B22081A4459DAC7699F3695FB70173D77D93@SW-EX-MBX02.diasemi.com> References: <1458500037-19153-1-git-send-email-colin.king@canonical.com> In-Reply-To: <1458500037-19153-1-git-send-email-colin.king@canonical.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.20.26.77] x-kse-attachmentfiltering-interceptor-info: protection disabled x-kse-serverinfo: sw-ex-cashub01.diasemi.com, 9 x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: Clean, bases: 21/03/2016 04:19:00 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 934 Lines: 37 On 20 March 2016 18:54 Colin King wrote: > Subject: [PATCH] mfd: da9063: remove unused array mask_events_buf > 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 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 > > -static const u8 mask_events_buf[] = { [0 ... (EVENTS_BUF_LEN - 1)] = ~0 }; > - > struct da9063_irq_data { > u16 reg; > u8 mask; > -- > 2.7.3