diff options
author | 2009-02-22 13:29:09 +0100 | |
---|---|---|
committer | 2009-02-25 18:38:12 +0100 | |
commit | c7986acba211e8285e14c9603fb89e6f4ea0b9f8 (patch) | |
tree | fb90edb83df6a2cc0e7ac33896c731016f7f6a5a /fs/file_table.c | |
parent | time: ntp: simplify ntp_update_offset_fll() (diff) | |
download | linux-rng-c7986acba211e8285e14c9603fb89e6f4ea0b9f8.tar.xz linux-rng-c7986acba211e8285e14c9603fb89e6f4ea0b9f8.zip |
time: ntp: micro-optimize ntp_update_offset()
Impact: cleanup, no functionality changed
The time_reftime update in ntp_update_offset() to xtime.tv_sec
is a convoluted way of saying that we want to freeze the frequency
and want the 'secs' delta to be 0. Also make this branch unlikely.
This shaves off 8 bytes from the code size:
text data bss dec hex filename
2504 114 136 2754 ac2 ntp.o.before
2496 114 136 2746 aba ntp.o.after
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions