]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mlxsw: spectrum_span: Remove unnecessary debug prints
authorIdo Schimmel <idosch@mellanox.com>
Fri, 24 Apr 2020 15:43:43 +0000 (18:43 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Apr 2020 22:41:51 +0000 (15:41 -0700)
To the best of my knowledge, these debug prints were never used. Remove
them.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c

index eb4a1c0f2788a01363ec16af9416dcbef1c2d5e5..14c5edc71239d8fab64649da67965cc883ad93f6 100644 (file)
@@ -978,9 +978,6 @@ int mlxsw_sp_span_mirror_add(struct mlxsw_sp_port *from,
        if (!span_entry)
                return -ENOBUFS;
 
-       netdev_dbg(from->dev, "Adding inspected port to SPAN entry %d\n",
-                  span_entry->id);
-
        err = mlxsw_sp_span_inspected_port_add(from, span_entry, type, bind);
        if (err)
                goto err_port_bind;
@@ -1004,8 +1001,6 @@ void mlxsw_sp_span_mirror_del(struct mlxsw_sp_port *from, int span_id,
                return;
        }
 
-       netdev_dbg(from->dev, "removing inspected port from SPAN entry %d\n",
-                  span_entry->id);
        mlxsw_sp_span_inspected_port_del(from, span_entry, type, bind);
 }