]> err.no Git - linux-2.6/commit
IB/core: Use ARRAY_SIZE macro for mandatory_table
authorAhmed S. Darwish <darwish.07@gmail.com>
Tue, 6 Feb 2007 16:07:25 +0000 (18:07 +0200)
committerRoland Dreier <rolandd@cisco.com>
Sat, 10 Feb 2007 16:00:47 +0000 (08:00 -0800)
commit9a6b090c0d1cd5c90f21db772dbe2fbcf14366de
tree08bb722dac5459005c991d459f1b87464dffebc7
parent99d4f22e91d26e0f8b113bf7fde65a335d36ad6b
IB/core: Use ARRAY_SIZE macro for mandatory_table

Use ARRAY_SIZE() macro already defined in kernel.h instead of open
coding equivalent code.

Signed-off-by: Ahmed S. Darwish <darwish.07@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/device.c