mlxsw: spectrum_flow: Drop an unused field
authorPetr Machata <petrm@mellanox.com>
Fri, 10 Jul 2020 21:55:11 +0000 (00:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jul 2020 00:22:22 +0000 (17:22 -0700)
The field "dev" in struct mlxsw_sp_flow_block_binding is not used. Drop it.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.h

index 18c64f7..ab54790 100644 (file)
@@ -710,7 +710,6 @@ struct mlxsw_sp_flow_block {
 
 struct mlxsw_sp_flow_block_binding {
        struct list_head list;
-       struct net_device *dev;
        struct mlxsw_sp_port *mlxsw_sp_port;
        bool ingress;
 };