Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85f44a15 authored by Petr Machata's avatar Petr Machata Committed by David S. Miller
Browse files

mlxsw: spectrum_router: Drop a redundant condition

parent 7ff176f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -3251,7 +3251,7 @@ mlxsw_sp_fib_entry_offload_refresh(struct mlxsw_sp_fib_entry *fib_entry,
			return;
			return;
		if (mlxsw_sp_fib_entry_should_offload(fib_entry))
		if (mlxsw_sp_fib_entry_should_offload(fib_entry))
			mlxsw_sp_fib_entry_offload_set(fib_entry);
			mlxsw_sp_fib_entry_offload_set(fib_entry);
		else if (!mlxsw_sp_fib_entry_should_offload(fib_entry))
		else
			mlxsw_sp_fib_entry_offload_unset(fib_entry);
			mlxsw_sp_fib_entry_offload_unset(fib_entry);
		return;
		return;
	default:
	default: