diff options
author | Minfei Huang <mnghuan@gmail.com> | 2016-05-27 14:17:11 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-06-27 15:12:14 +0200 |
commit | f7550d076d55c1b5f02f95012e3a5a84d264c47d (patch) | |
tree | 512176d99176c8a520fd63947b61b59d7f1b1bc9 /arch/x86/kernel/pvclock.c | |
parent | 749d088b8e7f4b9826ede02b9a043e417fa84aa1 (diff) |
pvclock: Cleanup to remove function pvclock_get_nsec_offset
Function __pvclock_read_cycles is short enough, so there is no need to
have another function pvclock_get_nsec_offset to calculate tsc delta.
It's better to combine it into function __pvclock_read_cycles.
Remove useless variables in function __pvclock_read_cycles.
Signed-off-by: Minfei Huang <mnghuan@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kernel/pvclock.c')
0 files changed, 0 insertions, 0 deletions