mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-18 07:18:45 +00:00
DM: remove unused function vrtc_get_time
Change-Id: I2074295234f8cfaf5f325bfbacab9c86779653bf 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:
committed by
ACRN System Integration
parent
8cb64cc71f
commit
1a726ce010
@@ -1007,18 +1007,6 @@ vrtc_set_time(struct vrtc *vrtc, time_t secs)
|
||||
return error;
|
||||
}
|
||||
|
||||
time_t
|
||||
vrtc_get_time(struct vrtc *vrtc)
|
||||
{
|
||||
time_t basetime;
|
||||
time_t t;
|
||||
|
||||
pthread_mutex_lock(&vrtc->mtx);
|
||||
t = vrtc_curtime(vrtc, &basetime);
|
||||
pthread_mutex_unlock(&vrtc->mtx);
|
||||
return t;
|
||||
}
|
||||
|
||||
void
|
||||
vrtc_reset(struct vrtc *vrtc)
|
||||
{
|
||||
|
Reference in New Issue
Block a user