mirror of https://gitee.com/openkylin/linux.git
mlxsw: spectrum_fid: Remove unused function
This function is no longer used. Remove it. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
32fd4b49a3
commit
f1d7c33d6a
|
@ -784,7 +784,6 @@ int mlxsw_sp_fid_port_vid_map(struct mlxsw_sp_fid *fid,
|
|||
struct mlxsw_sp_port *mlxsw_sp_port, u16 vid);
|
||||
void mlxsw_sp_fid_port_vid_unmap(struct mlxsw_sp_fid *fid,
|
||||
struct mlxsw_sp_port *mlxsw_sp_port, u16 vid);
|
||||
enum mlxsw_sp_rif_type mlxsw_sp_fid_rif_type(const struct mlxsw_sp_fid *fid);
|
||||
u16 mlxsw_sp_fid_index(const struct mlxsw_sp_fid *fid);
|
||||
enum mlxsw_sp_fid_type mlxsw_sp_fid_type(const struct mlxsw_sp_fid *fid);
|
||||
void mlxsw_sp_fid_rif_set(struct mlxsw_sp_fid *fid, struct mlxsw_sp_rif *rif);
|
||||
|
|
|
@ -349,11 +349,6 @@ void mlxsw_sp_fid_port_vid_unmap(struct mlxsw_sp_fid *fid,
|
|||
fid->fid_family->ops->port_vid_unmap(fid, mlxsw_sp_port, vid);
|
||||
}
|
||||
|
||||
enum mlxsw_sp_rif_type mlxsw_sp_fid_rif_type(const struct mlxsw_sp_fid *fid)
|
||||
{
|
||||
return fid->fid_family->rif_type;
|
||||
}
|
||||
|
||||
u16 mlxsw_sp_fid_index(const struct mlxsw_sp_fid *fid)
|
||||
{
|
||||
return fid->fid_index;
|
||||
|
|
Loading…
Reference in New Issue