diff options
author | Minfei Huang <mnghuan@gmail.com> | 2016-05-27 06:17:11 (GMT) |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-06-27 13:12:14 (GMT) |
commit | f7550d076d55c1b5f02f95012e3a5a84d264c47d (patch) | |
tree | 512176d99176c8a520fd63947b61b59d7f1b1bc9 /mm/fadvise.c | |
parent | 749d088b8e7f4b9826ede02b9a043e417fa84aa1 (diff) | |
download | linux-f7550d076d55c1b5f02f95012e3a5a84d264c47d.tar.xz |
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 'mm/fadvise.c')
0 files changed, 0 insertions, 0 deletions