diff options
author | 2009-02-22 15:15:32 +0100 | |
---|---|---|
committer | 2009-02-25 18:38:14 +0100 | |
commit | 80f2257116474ceed5fccab510b4f7245c0f49d7 (patch) | |
tree | 513775794f865985dedcfc82dedcb1a60e469b76 /fs/file_table.c | |
parent | time: ntp: fix bug in ntp_update_offset() & do_adjtimex() (diff) | |
download | linux-rng-80f2257116474ceed5fccab510b4f7245c0f49d7.tar.xz linux-rng-80f2257116474ceed5fccab510b4f7245c0f49d7.zip |
time: ntp: refactor do_adjtimex()
Impact: cleanup, no functionality changed
do_adjtimex() is currently a monster function with a maze of
branches. Refactor the txc->modes setting aspects of it into
two new helper functions:
process_adj_status()
process_adjtimex_modes()
kernel/time/ntp.o:
text data bss dec hex filename
2512 114 136 2762 aca ntp.o.before
2512 114 136 2762 aca 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