IB/ipath: Replace open-coded ARRAY_SIZE with macro
authorMike Marciniszyn <mike.marciniszyn@qlogic.com>
Thu, 19 Apr 2012 15:59:15 +0000 (11:59 -0400)
committerRoland Dreier <roland@purestorage.com>
Tue, 8 May 2012 18:17:20 +0000 (11:17 -0700)
commit464357a7591302a98a5dbede7515c72adf4f2fef
treea770700d76b4dd96276b239756ba21f54c603837
parent6475f1df272fee35cb718acb5e55b51f23898e82
IB/ipath: Replace open-coded ARRAY_SIZE with macro

Change sizeof(array)/sizeof(array[0]) to ARRAY_SIZE.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/ipath/ipath_iba6110.c