From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752220AbcCARiA (ORCPT ); Tue, 1 Mar 2016 12:38:00 -0500 Received: from down.free-electrons.com ([37.187.137.238]:42638 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751267AbcCARhz (ORCPT ); Tue, 1 Mar 2016 12:37:55 -0500 Date: Tue, 1 Mar 2016 18:37:43 +0100 From: Alexandre Belloni To: Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, Alessandro Zummo , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rtc: vr41xx: remove unused function: Message-ID: <20160301173743.GC23985@piout.net> References: <1456851797-3510153-1-git-send-email-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1456851797-3510153-1-git-send-email-arnd@arndb.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On 01/03/2016 at 18:03:12 +0100, Arnd Bergmann wrote : > The vr41xx_rtc_alarm_irq_enable function is never called > has no effect other than producing a warning: > > drivers/rtc/rtc-vr41xx.c:228:12: error: 'vr41xx_rtc_alarm_irq_enable' defined but not used [-Werror=unused-function] > > This removes it. > > Signed-off-by: Arnd Bergmann For that one, I took Geert's patch which makes use of the function and is a proper fix. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com