summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum.h
diff options
context:
space:
mode:
authorIdo Schimmel2018-12-19 07:08:40 +0100
committerDavid S. Miller2018-12-19 21:28:07 +0100
commitf1d7c33d6ab585aba831a73a322070eb89724072 (patch)
treee212c4edbd946bbc48ad427cf87cc111141ef303 /drivers/net/ethernet/mellanox/mlxsw/spectrum.h
parentmlxsw: spectrum_router: Do not destroy RIFs based on FID's reference count (diff)
downloadkernel-qcow2-linux-f1d7c33d6ab585aba831a73a322070eb89724072.tar.gz
kernel-qcow2-linux-f1d7c33d6ab585aba831a73a322070eb89724072.tar.xz
kernel-qcow2-linux-f1d7c33d6ab585aba831a73a322070eb89724072.zip
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlxsw/spectrum.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum.h b/drivers/net/ethernet/mellanox/mlxsw/spectrum.h
index 92faae006480..9b7ba4c3d334 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/spectrum.h
+++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum.h
@@ -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);