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:
Jeff Johnson
2018-12-16 11:40:36 -08:00
parent a73a93a877
commit 1fca7b0507
2 changed files with 0 additions and 16 deletions

View File

@@ -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

View File

@@ -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