From: Or Gerlitz Date: Thu, 23 Aug 2012 14:09:05 +0000 (+0000) Subject: mlx4_core: Remove annoying debug message in the resource tracker X-Git-Tag: next-20120919~78^2^5 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c1163dd5bc740b69541bc2b21075e5bc67018b4f;p=karo-tx-linux.git 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 Signed-off-by: Roland Dreier --- diff --git a/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c b/drivers/net/ethernet/mellanox/mlx4/resource_tracker.c index 94ceddd17ab2..9ddb7517e0b6 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;