Commit 46d5b7b5 authored by Ido Schimmel's avatar Ido Schimmel Committed by Jakub Kicinski

mlxsw: spectrum_router: Remove unused field 'prio' from IPv4 FIB entry struct

Not used anywhere.
Signed-off-by: default avatarIdo Schimmel <idosch@nvidia.com>
Reviewed-by: default avatarJiri Pirko <jiri@nvidia.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 9ce254d9
...@@ -433,7 +433,6 @@ struct mlxsw_sp_fib4_entry { ...@@ -433,7 +433,6 @@ struct mlxsw_sp_fib4_entry {
struct mlxsw_sp_fib_entry common; struct mlxsw_sp_fib_entry common;
struct fib_info *fi; struct fib_info *fi;
u32 tb_id; u32 tb_id;
u32 prio;
u8 tos; u8 tos;
u8 type; u8 type;
}; };
...@@ -4832,7 +4831,6 @@ mlxsw_sp_fib4_entry_create(struct mlxsw_sp *mlxsw_sp, ...@@ -4832,7 +4831,6 @@ mlxsw_sp_fib4_entry_create(struct mlxsw_sp *mlxsw_sp,
fib4_entry->fi = fen_info->fi; fib4_entry->fi = fen_info->fi;
fib_info_hold(fib4_entry->fi); fib_info_hold(fib4_entry->fi);
fib4_entry->prio = fen_info->fi->fib_priority;
fib4_entry->tb_id = fen_info->tb_id; fib4_entry->tb_id = fen_info->tb_id;
fib4_entry->type = fen_info->type; fib4_entry->type = fen_info->type;
fib4_entry->tos = fen_info->tos; fib4_entry->tos = fen_info->tos;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment