diff options
author | Mikhail Lobanov <m.lobanov@rosalinux.ru> | 2024-03-13 18:34:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-03-15 16:57:34 +0300 |
commit | 237bb5f7f7f55ec5f773469a974c61a49c298625 (patch) | |
tree | 051b76fbd1ce8435ca81bd37a7a400c4e0f3b8ab /drivers/thermal/intel/int340x_thermal/processor_thermal_rapl.c | |
parent | 19c5c04d3178a8a4ca803369aa4948dad1ece902 (diff) | |
download | linux-237bb5f7f7f55ec5f773469a974c61a49c298625.tar.xz |
cxgb4: unnecessary check for 0 in the free_sge_txq_uld() function
The free_sge_txq_old() function has an unnecessary txq check of 0.
This check is not necessary, since the txq pointer is initialized by the
uldtxq[i] address from the operation &txq_info->uldtxq[i], which ensures
that txq is not equal to 0.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: ab677ff4ad15 ("cxgb4: Allocate Tx queues dynamically")
Signed-off-by: Mikhail Lobanov <m.lobanov@rosalinux.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/thermal/intel/int340x_thermal/processor_thermal_rapl.c')
0 files changed, 0 insertions, 0 deletions