Message ID | 20200316104701.209293-2-alexandre.belloni@bootlin.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/2] rtc: mt2712: fix build without PM_SLEEP | expand |
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);
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(-)