]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: r9701: remove useless memset
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 15 Oct 2020 19:11:32 +0000 (21:11 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 19 Oct 2020 20:48:55 +0000 (22:48 +0200)
commita30b5b317f9019eabfb553fbd429a31d46d77ab6
tree383cd43e0e964eedd8863626b8a8c9ed90cb770b
parent558e4fc1201fb4d5e80d4c2fbe90f9fa1cfd7e66
rtc: r9701: remove useless memset

The RTC core already sets to zero the struct rtc_tie it passes to the
driver, avoid doing it a second time.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20201015191135.471249-3-alexandre.belloni@bootlin.com
drivers/rtc/rtc-r9701.c