IB/mthca: Use DEFINE_MUTEX() instead of mutex_init()
authorRoland Dreier <rolandd@cisco.com>
Sat, 16 Dec 2006 04:55:28 +0000 (20:55 -0800)
committerRoland Dreier <rolandd@cisco.com>
Sat, 16 Dec 2006 04:55:28 +0000 (20:55 -0800)
commit0b0df6f2079e731c44226a0673b07a166509a5de
tree2ed1fc00c793b45fbb9c67afd6359efb202b3e99
parent82da703ee685b69b921b20eb76b50e519ca9956c
IB/mthca: Use DEFINE_MUTEX() instead of mutex_init()

mthca_device_mutex() can be initialized automatically with
DEFINE_MUTEX() rather than explicitly calling mutex_init().  This
saves a bit of text and shrinks the source by a line, so we may as
well do it....

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_main.c