Thread (5 messages) flat view 5 messages, 3 authors, 2020-03-17
STALE2341d LANDED

Landed in mainline as 64823360a829 on 2020-03-16.

[PATCH 2/2] rtc: mt2712: remove unused variable

From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: 2020-03-16 10:49:58
Also in: linux-mediatek, linux-rtc, lkml
Subsystem: arm/mediatek rtc driver, real time clock (rtc) subsystem, the rest · Maintainers: Eddie Huang, Sean Wang, Alexandre Belloni, Linus Torvalds

irqen is not used in  mt2712_rtc_set_alarm, remove it.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
 drivers/rtc/rtc-mt2712.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/rtc/rtc-mt2712.c b/drivers/rtc/rtc-mt2712.c
index c2709c1602f0..617e397dd820 100644
--- a/drivers/rtc/rtc-mt2712.c
+++ b/drivers/rtc/rtc-mt2712.c
@@ -232,7 +232,6 @@ static int mt2712_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alm)
 {
 	struct mt2712_rtc *mt2712_rtc = dev_get_drvdata(dev);
 	struct rtc_time *tm = &alm->time;
-	u16 irqen;
 
 	dev_dbg(&mt2712_rtc->rtc->dev, "set al time: %ptR, alm en: %d\n",
 		tm, alm->enabled);
-- 
2.24.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help