[mlx4] Apply mlx4_0300_bogus_qp.patch (change printing) (winib 2397)
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 15 May 2008 07:24:33 +0000 (07:24 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 15 May 2008 07:24:33 +0000 (07:24 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1172 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

hw/mlx4/kernel/bus/net/qp.c

index 6b72a36..968e2bc 100644 (file)
@@ -53,12 +53,8 @@ void mlx4_qp_event(struct mlx4_dev *dev, u32 qpn, int event_type)
        spin_unlock_dpc(&qp_table->lock);
 
        if (!qp) {
-               if (event_type == MLX4_EVENT_TYPE_SRQ_QP_LAST_WQE)
-                       mlx4_dbg(dev, "Async event SRQ_QP_LAST_WQE"
-                                " for bogus QP %08x\n", qpn);
-               else
-                       mlx4_warn(dev, "Async event %d for bogus QP %08x\n",
-                                 event_type, qpn);
+               mlx4_dbg(dev, "Async event %d for bogus QP %08x\n",
+                         event_type, qpn);
                return;
        }