mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
net/mlx5e: Cleanup unused function parameter
Socket parameter is not used in accel_rule_init(), remove it. Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
This commit is contained in:
parent
2f014f4016
commit
8668587a33
|
|
@ -119,8 +119,7 @@ static void accel_rule_handle_work(struct work_struct *work)
|
|||
complete(&priv_rx->add_ctx);
|
||||
}
|
||||
|
||||
static void accel_rule_init(struct accel_rule *rule, struct mlx5e_priv *priv,
|
||||
struct sock *sk)
|
||||
static void accel_rule_init(struct accel_rule *rule, struct mlx5e_priv *priv)
|
||||
{
|
||||
INIT_WORK(&rule->work, accel_rule_handle_work);
|
||||
rule->priv = priv;
|
||||
|
|
@ -618,7 +617,7 @@ int mlx5e_ktls_add_rx(struct net_device *netdev, struct sock *sk,
|
|||
|
||||
init_completion(&priv_rx->add_ctx);
|
||||
|
||||
accel_rule_init(&priv_rx->rule, priv, sk);
|
||||
accel_rule_init(&priv_rx->rule, priv);
|
||||
resync = &priv_rx->resync;
|
||||
resync_init(resync, priv);
|
||||
tls_offload_ctx_rx(tls_ctx)->resync_async = &resync->core;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user