This innocent print makes it very hard to actually use the mlx4 core
debug messages -- for example, the module load sequence of a device with
two VFs yielded 3200 debug prints, with 2800 of them being this
exact one, remove it.

Signed-off-by: Or Gerlitz <[email protected]>
---
 .../net/ethernet/mellanox/mlx4/resource_tracker.c  |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 
b/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
index 94ceddd..9ddb751 100644
--- a/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
+++ b/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
@@ -359,8 +359,6 @@ static int get_res(struct mlx4_dev *dev, int slave, u64 
res_id,
 
        r->from_state = r->state;
        r->state = RES_ANY_BUSY;
-       mlx4_dbg(dev, "res %s id 0x%llx to busy\n",
-                ResourceType(type), r->res_id);
 
        if (res)
                *((struct res_common **)res) = r;
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to