IB/mlx5: Simplify mlx5_ib_destroy_srq
authorEli Cohen <eli@dev.mellanox.co.il>
Wed, 23 Oct 2013 06:53:16 +0000 (09:53 +0300)
committerRoland Dreier <roland@purestorage.com>
Fri, 8 Nov 2013 22:42:59 +0000 (14:42 -0800)
commit1faacf82dfb3e0027087ff7e6aae5e0643b98a4d
treebfbc563ef9827ddc9e0fb7eba178308c80b21075
parent9641b74ebee65320fa52172995d6df12b641caa5
IB/mlx5: Simplify mlx5_ib_destroy_srq

Make use of destroy_srq_kernel() to clear SRQ resouces.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx5/srq.c