]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Declare mlx5e_tx_reporter_recover_from_ctx as static
authorEran Ben Elisha <eranbe@mellanox.com>
Sun, 24 Feb 2019 08:31:02 +0000 (10:31 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 1 Mar 2019 20:04:15 +0000 (12:04 -0800)
commit885fb50d5d33b64b2faa60e4285e12d947b9d119
tree4ac97d8719c4521d8c62592378cc8443c5b15ece
parent1fcb6f4a6861ac58fcda8cadc6a998bcdbfb6020
net/mlx5e: Declare mlx5e_tx_reporter_recover_from_ctx as static

Function mlx5e_tx_reporter_recover_from_ctx is only used within mlx5e tx
reporter, move it to be statically declared in en/reporter_tx.c.

Fixes: f9154a205e65 ("net/mlx5e: Add tx reporter support")
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Reported-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c