lkml.org 
[lkml]   [2016]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] rtc: vr41xx: remove unused function:
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

\
 
 \ /
  Last update: 2016-03-01 19:21    [W:0.151 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site