Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1346800

Re: [PATCH] rtc: vr41xx: remove unused function:

From Alexandre Belloni <alexandre.belloni@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH] rtc: vr41xx: remove unused function:
Date 2016-03-01 18:40 +0100
Message-ID <r7Wr7-3Ko-5@gated-at.bofh.it> (permalink)
References <r7VY7-3zV-49@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <arnd@arndb.de>

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] rtc: vr41xx: remove unused function: Arnd Bergmann <arnd@arndb.de> - 2016-03-01 18:10 +0100
  Re: [PATCH] rtc: vr41xx: remove unused function: Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-03-01 18:40 +0100

csiph-web