aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorMikhail Lobanov <[email protected]>2024-03-13 11:34:36 -0400
committerDavid S. Miller <[email protected]>2024-03-15 13:57:34 +0000
commit237bb5f7f7f55ec5f773469a974c61a49c298625 (patch)
tree051b76fbd1ce8435ca81bd37a7a400c4e0f3b8ab /tools/perf/scripts/python/libxed.py
parent19c5c04d3178a8a4ca803369aa4948dad1ece902 (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions