Don't refer to never used external variable
Signed-off-by: Nils Philippsen <nils@tiptoe.de>
This commit is contained in:
parent
2a456c1921
commit
f6e38219bc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user