drivers/rtc/rtc-dev.c: remove unused code from rtc-dev.c