From: Petr Machata Date: Fri, 10 Jul 2020 21:55:11 +0000 (+0300) Subject: mlxsw: spectrum_flow: Drop an unused field X-Git-Tag: v5.15~3197^2~271^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d928f82198338abcce218fc5330bacb157f27b6b;p=platform%2Fkernel%2Flinux-starfive.git mlxsw: spectrum_flow: Drop an unused field The field "dev" in struct mlxsw_sp_flow_block_binding is not used. Drop it. Signed-off-by: Petr Machata Reviewed-by: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum.h b/drivers/net/ethernet/mellanox/mlxsw/spectrum.h index 18c64f7..ab54790 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum.h +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum.h @@ -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; };