diff options
author | Ido Schimmel <idosch@mellanox.com> | 2018-12-19 06:08:40 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-19 12:28:07 -0800 |
commit | f1d7c33d6ab585aba831a73a322070eb89724072 (patch) | |
tree | e212c4edbd946bbc48ad427cf87cc111141ef303 /drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c | |
parent | mlxsw: spectrum_router: Do not destroy RIFs based on FID's reference count (diff) | |
download | linux-dev-f1d7c33d6ab585aba831a73a322070eb89724072.tar.xz linux-dev-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 '')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c index ee3b8db5d9e0..055cc6943b34 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c @@ -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; |