rtc: fix a typo and reduce three empty lines to one