]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] kernel/time/ntp.c: possible cleanups
authorAdrian Bunk <bunk@stusta.de>
Sun, 1 Oct 2006 06:28:29 +0000 (23:28 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 1 Oct 2006 07:39:27 +0000 (00:39 -0700)
commit70bc42f90a3f4721c89dbe865e6c95da8565b41c
treeb98b1b19584c4dfcec283715a14a701139ea32d1
parent0883d899ef862c1b0f8b2c2d38098470c193a3dd
[PATCH] kernel/time/ntp.c: possible cleanups

This patch contains the following possible cleanups:
- make the following needlessly global function static:
  - ntp_update_frequency()
- make the following needlessly global variables static:
  - time_state
  - time_offset
  - time_constant
  - time_reftime
- remove the following read-only global variable:
  - time_precision

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/timex.h
kernel/time/ntp.c