IB/mlx4: Simplify retrieval of ib_device
authorEli Cohen <eli@mellanox.co.il>
Wed, 27 Jan 2010 13:57:03 +0000 (13:57 +0000)
committerRoland Dreier <rolandd@cisco.com>
Fri, 12 Feb 2010 23:18:06 +0000 (15:18 -0800)
commita478868a1b891da8f3c67c1b933e870df89dca80
tree83dd408ffdde477485ef49677ebb02581d6e26ff
parent676ad585531e965416fd958747894541dabcec96
IB/mlx4: Simplify retrieval of ib_device

struct ib_qp  already holds a pointer to the ib device. No need to dive to the
hw device object to retrieve it.

Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/qp.c