Commit 2225d080 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller

mlxsw: core: Remove unused action field from mlxsw_rx_listener struct

Commit 0791051c ("mlxsw: core: Create a generic function to
register / unregister traps") moved this field to struct mlxsw_listener,
but forgot to remove it from struct mlxsw_rx_listener.
Remove the unused field.
Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3cbc37e6
...@@ -62,7 +62,6 @@ struct mlxsw_rx_listener { ...@@ -62,7 +62,6 @@ struct mlxsw_rx_listener {
void (*func)(struct sk_buff *skb, u8 local_port, void *priv); void (*func)(struct sk_buff *skb, u8 local_port, void *priv);
u8 local_port; u8 local_port;
u16 trap_id; u16 trap_id;
enum mlxsw_reg_hpkt_action action;
}; };
struct mlxsw_event_listener { struct mlxsw_event_listener {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment