hv: vrtc: remove the unused function `rtc_halted()`

rtc_halted() is not invoked anywhere in the code.
This patch removes this unused function to fix below error.
  error: unused function 'rtc_halted' [-Werror,-Wunused-function]

Tracked-On: #861

Signed-off-by: Gao, Shiqing <shiqing.gao@intel.com>
This commit is contained in:
Gao, Shiqing 2024-07-03 10:49:45 +08:00 committed by acrnsi-robot
parent 0bcf469758
commit cc9013541f
1 changed files with 0 additions and 4 deletions

View File

@ -455,10 +455,6 @@ static void cmos_set_reg_val(uint8_t addr, uint8_t value)
#define TRIGGER_ALARM (RTCIR_ALARM | RTCIR_INT)
#define RTC_DELTA 1 /* For RTC and system time may out of sync for no more than 1s */
static inline bool rtc_halted(struct acrn_vrtc *rtc)
{
return ((rtc->rtcdev.reg_b & RTCSB_HALT) != 0U);
}
static uint8_t vrtc_get_reg_c(struct acrn_vrtc *vrtc)
{