Skip to content

Commit

Permalink
x86: clean up vget_cycles()
Browse files Browse the repository at this point in the history
Impact: remove unused variable

I forgot to remove the now unused "cycles_t cycles" parameter from
vget_cycles() - which triggers build warnings as tsc.h is included
in a number of files.

Remove it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Nov 9, 2008
1 parent cb9e35d commit 4fcc50a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/include/asm/tsc.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ static inline cycles_t get_cycles(void)

static __always_inline cycles_t vget_cycles(void)
{
cycles_t cycles;

/*
* We only do VDSOs on TSC capable CPUs, so this shouldnt
* access boot_cpu_data (which is not VDSO-safe):
Expand Down

0 comments on commit 4fcc50a

Please sign in to comment.