net/mlx5e: Drop priv argument of ptp function in en_fs
authorLama Kayal <lkayal@nvidia.com>
Mon, 31 Jan 2022 20:13:41 +0000 (22:13 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 23 Aug 2022 05:44:21 +0000 (22:44 -0700)
commit81a0b241affeec9914257a146841e1d802474362
treef1b8b95a2c5025f7cdb0362df49d0135fb5ace8d
parent1be44b42b25cfe66d6e55630478aabbc8d8f3bc7
net/mlx5e: Drop priv argument of ptp function in en_fs

Both mlx5e_ptp_alloc_rx_fs and mlx5e_ptp_free_rx_fs only
make use of two priv member, pass them directly instead.
This will help dropping priv from all en_fs file.

Signed-off-by: Lama Kayal <lkayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c
drivers/net/ethernet/mellanox/mlx5/core/en/ptp.h
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c