time: ntp: refactor up ntp_update_frequency()
authorIngo Molnar <mingo@elte.hu>
Sun, 22 Feb 2009 11:17:36 +0000 (12:17 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 25 Feb 2009 17:38:10 +0000 (18:38 +0100)
commitbc26c31d446bc9c24cd6f7003777a05fe268ae48
tree26b1738745cd7f81af2259239799a0798cbe212b
parent9ce616aaefcb9309cb9c49a36310ebda6061b98b
time: ntp: refactor up ntp_update_frequency()

Impact: cleanup, no functionality changed

Change ntp_update_frequency() from a hard to follow code
flow that uses global variables as temporaries, to a clean
input+output flow.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/time/ntp.c