time: Use ARRAY_SIZE macro in timecompare.c
authorNikitas Angelinas <nikitasangelinas@googlemail.com>
Wed, 20 Oct 2010 22:57:31 +0000 (15:57 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 21 Oct 2010 15:30:06 +0000 (17:30 +0200)
commit2bf1c05e3c406925e498d06da66b4828f0209ea6
tree4125c428e84e66c825020f7b41671de6b6af5574
parentaaabe31c25a439b92cc281b14ca18b85bae7e7a6
time: Use ARRAY_SIZE macro in timecompare.c

Replace sizeof(buffer)/sizeof(buffer[0]) with ARRAY_SIZE(buffer) in
kernel/time/timecompare.c

Signed-off-by: Nikitas Angelinas <nikitasangelinas@googlemail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/timecompare.c