OSDN Git Service

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)
commit6bdbc1cb6cf084474b44a1dcb6d44cf48d6a42dc
tree4ac97d8719c4521d8c62592378cc8443c5b15ece
parentbe9cefe796f3abfbef02e66fbe3bff766b93b867
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: de8650a82071 ("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