On Mon, Nov 16, 2026 at 02:15:54PM +0300, Artem Novikov wrote:
> In ice_node_param_check(), non-leaf nodes reject any non-NULL
> wfq_weight_mode pointer and return immediately.
> 
> The later else-if branch checks wfq_weight_mode again, so it can only be
> reached when wfq_weight_mode is NULL. As a result, the condition is always
> false and the "WFP should be byte mode" error path is unreachable.
> 
> Remove the dead branch. No functional change.
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> Fixes: 8c481c3bb65b ("net/ice: support queue and queue group bandwidth limit")
> Cc: [email protected]
> 
> Signed-off-by: Artem Novikov <[email protected]>
> ---
>  drivers/net/intel/ice/ice_tm.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
Acked-by: Bruce Richardson <[email protected]>

Applied to dpdk-next-net-intel.
/Bruce

Reply via email to