Browse Source

mlx4_core: Remove annoying debug message in the resource tracker

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
one.  Let's just remove it.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Or Gerlitz 13 years ago
parent
commit
a084feebd2
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/net/ethernet/mellanox/mlx4/resource_tracker.c

+ 0 - 2
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c

@@ -360,8 +360,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;