]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] arch/alpha: Use ARRAY_SIZE macro
authorTobias Klauser <tklauser@distanz.ch>
Sun, 30 Jul 2006 10:03:23 +0000 (03:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Jul 2006 20:28:38 +0000 (13:28 -0700)
commit25c8716cb08dea386c7d6220b82eba732ccbf976
treeec5a4d986440b5c93186fafb4ebc0f4f1ad44dcc
parentc8e5429e49dcf5243a2dc293cb11f53d65d5fca9
[PATCH] arch/alpha: Use ARRAY_SIZE macro

Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove a
duplicate of the macro.  Also remove some trailing whitespaces and needless
braces.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/alpha/kernel/err_ev7.c
arch/alpha/kernel/osf_sys.c
arch/alpha/kernel/setup.c
arch/alpha/kernel/sys_ruffian.c
arch/alpha/kernel/time.c