diff options
author | Jiri Pirko <jiri@mellanox.com> | 2019-01-28 12:02:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-28 10:43:15 -0800 |
commit | 42d704e01817b4d64f1971a1f2e992a69bd5c772 (patch) | |
tree | be784141504297ba5bfa08f5d468e94a830ab1fa /drivers/net/ethernet/mellanox/mlxsw/spectrum.h | |
parent | 889865cf54bddd8a4e258a11225bcbb646f90863 (diff) | |
download | linux-stable-42d704e01817b4d64f1971a1f2e992a69bd5c772.tar.gz linux-stable-42d704e01817b4d64f1971a1f2e992a69bd5c772.tar.bz2 linux-stable-42d704e01817b4d64f1971a1f2e992a69bd5c772.zip |
mlxsw: spectrum_acl: Remove unnecessary arg on action_replace call path
No need to pass ruleset/group and chunk pointers on action_replace call
path, nobody uses them.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum.h b/drivers/net/ethernet/mellanox/mlxsw/spectrum.h index 9384b108c8c2..4fe0996c7cdd 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum.h +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum.h @@ -721,8 +721,7 @@ struct mlxsw_sp_acl_tcam_ops { void *region_priv, void *chunk_priv, void *entry_priv); int (*entry_action_replace)(struct mlxsw_sp *mlxsw_sp, - void *region_priv, void *chunk_priv, - void *entry_priv, + void *region_priv, void *entry_priv, struct mlxsw_sp_acl_rule_info *rulei); int (*entry_activity_get)(struct mlxsw_sp *mlxsw_sp, void *region_priv, void *entry_priv, |