Thread (2 messages) 2 messages, 2 authors, 2018-02-25

Re: [PATCH] rtc: m41t80: move m41t80_rtc_mutex to the block where it is used

From: Alexandre Belloni <hidden>
Date: 2018-02-25 20:11:52

On 09/02/2018 at 19:05:34 +0100, Sebastian Andrzej Siewior wrote:
Without CONFIG_RTC_DRV_M41T80_WDT the compiler complains:

|drivers/rtc/rtc-m41t80.c:76 ‘m41t80_rtc_mutex’ defined but not used [-Wunused-variable]

Move the variable to the block where it is used.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 drivers/rtc/rtc-m41t80.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.

-- 
Alexandre Belloni, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help