Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0b0df6f2 authored by Roland Dreier's avatar Roland Dreier
Browse files

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: default avatarRoland Dreier <rolandd@cisco.com>
parent 82da703e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment