diff options
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_verbs.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_verbs.c b/drivers/infiniband/ulp/ipoib/ipoib_verbs.c index ba09068f6200..b69304d28f06 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_verbs.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_verbs.c | |||
@@ -260,11 +260,8 @@ void ipoib_transport_dev_cleanup(struct net_device *dev) | |||
260 | priv->qp = NULL; | 260 | priv->qp = NULL; |
261 | } | 261 | } |
262 | 262 | ||
263 | if (ib_destroy_cq(priv->send_cq)) | 263 | ib_destroy_cq(priv->send_cq); |
264 | ipoib_warn(priv, "ib_cq_destroy (send) failed\n"); | 264 | ib_destroy_cq(priv->recv_cq); |
265 | |||
266 | if (ib_destroy_cq(priv->recv_cq)) | ||
267 | ipoib_warn(priv, "ib_cq_destroy (recv) failed\n"); | ||
268 | } | 265 | } |
269 | 266 | ||
270 | void ipoib_event(struct ib_event_handler *handler, | 267 | void ipoib_event(struct ib_event_handler *handler, |