13
0

Don't refer to never used external variable

Signed-off-by: Nils Philippsen <nils@tiptoe.de>
This commit is contained in:
Nils Philippsen 2020-06-03 10:21:30 +02:00 committed by Robin Gareus
parent 2a456c1921
commit f6e38219bc
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -43,8 +43,6 @@
*/
typedef uint64_t cycles_t;
extern cycles_t cacheflush_time;
#if defined(__x86_64__)
#define rdtscll(lo, hi) \
@ -92,8 +90,6 @@ typedef uint32_t cycles_t;
* Currently only used on SMP.
*/
extern cycles_t cacheflush_time;
static inline cycles_t get_cycles(void)
{
cycles_t ret = 0;
@ -236,8 +232,6 @@ static inline cycles_t get_cycles (void)
typedef long cycles_t;
extern cycles_t cacheflush_time;
static inline cycles_t get_cycles(void)
{
struct timeval tv;