DM: remove unused function vrtc_reset

Change-Id: If0dbd40cf54eb81ca4ced9acae273d291e99b25c
Tracked-On: #3123
Signed-off-by: Ying Liu <ying2.liu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
yliu79
2019-05-22 10:21:57 -07:00
committed by ACRN System Integration
parent 1a726ce010
commit 2a33d52ec6
2 changed files with 0 additions and 15 deletions

View File

@@ -1007,20 +1007,6 @@ vrtc_set_time(struct vrtc *vrtc, time_t secs)
return error;
}
void
vrtc_reset(struct vrtc *vrtc)
{
struct rtcdev *rtc;
pthread_mutex_lock(&vrtc->mtx);
rtc = &vrtc->rtcdev;
vrtc_set_reg_b(vrtc, rtc->reg_b & ~(RTCSB_ALL_INTRS | RTCSB_SQWE));
vrtc_set_reg_c(vrtc, 0);
pthread_mutex_unlock(&vrtc->mtx);
}
int
vrtc_init(struct vmctx *ctx)
{