]> Pileus Git - ~andy/linux/commitdiff
mlx4_core: Remove annoying debug message in the resource tracker
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 23 Aug 2012 14:09:05 +0000 (14:09 +0000)
committerRoland Dreier <roland@purestorage.com>
Mon, 1 Oct 2012 03:33:09 +0000 (20:33 -0700)
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>
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c

index 293c9e820c49b5d470dce7eda95f2252b94d4251..362b25e1f2e7657eee5faf60076dab9a6098070d 100644 (file)
@@ -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;