Enable CQ destruction.

Signed-off-by: Kanoj Sarcar <[email protected]>
---
 kern/drivers/net/mlx4/cq.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/kern/drivers/net/mlx4/cq.c b/kern/drivers/net/mlx4/cq.c
index 762faca..900c0a7 100644
--- a/kern/drivers/net/mlx4/cq.c
+++ b/kern/drivers/net/mlx4/cq.c
@@ -372,8 +372,6 @@ EXPORT_SYMBOL_GPL(mlx4_cq_alloc);
 
 void mlx4_cq_free(struct mlx4_dev *dev, struct mlx4_cq *cq)
 {
-       panic("Disabled");
-#if 0 // AKAROS_PORT
        struct mlx4_priv *priv = mlx4_priv(dev);
        struct mlx4_cq_table *cq_table = &priv->cq_table;
        int err;
@@ -393,7 +391,6 @@ void mlx4_cq_free(struct mlx4_dev *dev, struct mlx4_cq *cq)
        wait_for_completion(&cq->free);
 
        mlx4_cq_free_icm(dev, cq->cqn);
-#endif
 }
 EXPORT_SYMBOL_GPL(mlx4_cq_free);
 

-- 
You received this message because you are subscribed to the Google Groups 
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to