Эх сурвалжийг харах

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
Jeff Johnson 6 жил өмнө
parent
commit
1fca7b0507

+ 0 - 2
core/cds/inc/cds_api.h

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

+ 0 - 14
core/cds/src/cds_api.c

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