qcacld-3.0: Remove cds_get_monotonic_boottime()
Utility function cds_get_monotonic_boottime() is unused, so remove it. Change-Id: I85ab8be34b2fde61f710384acb2b727456adf760 CRs-Fixed: 2370774
This commit is contained in:
@@ -356,8 +356,6 @@ bool cds_is_packet_log_enabled(void)
|
||||
bool cds_is_packet_log_enabled(void);
|
||||
#endif
|
||||
|
||||
uint64_t cds_get_monotonic_boottime(void);
|
||||
|
||||
/**
|
||||
* cds_get_recovery_reason() - get self recovery reason
|
||||
* @reason: cds hang reason
|
||||
|
@@ -1902,20 +1902,6 @@ void cds_reset_recovery_reason(void)
|
||||
gp_cds_context->recovery_reason = QDF_REASON_UNSPECIFIED;
|
||||
}
|
||||
|
||||
/**
|
||||
* cds_get_monotonic_boottime() - Get kernel boot time.
|
||||
*
|
||||
* Return: Time in microseconds
|
||||
*/
|
||||
|
||||
uint64_t cds_get_monotonic_boottime(void)
|
||||
{
|
||||
struct timespec ts;
|
||||
|
||||
get_monotonic_boottime(&ts);
|
||||
return ((uint64_t) ts.tv_sec * 1000000) + (ts.tv_nsec / 1000);
|
||||
}
|
||||
|
||||
/**
|
||||
* cds_set_wakelock_logging() - Logging of wakelock enabled/disabled
|
||||
* @value: Boolean value
|
||||
|
Reference in New Issue
Block a user