summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_bo_types.h
diff options
context:
space:
mode:
authorMikhail Lobanov <m.lobanov@rosalinux.ru>2024-03-13 18:34:36 +0300
committerDavid S. Miller <davem@davemloft.net>2024-03-15 16:57:34 +0300
commit237bb5f7f7f55ec5f773469a974c61a49c298625 (patch)
tree051b76fbd1ce8435ca81bd37a7a400c4e0f3b8ab /drivers/gpu/drm/xe/xe_bo_types.h
parent19c5c04d3178a8a4ca803369aa4948dad1ece902 (diff)
downloadlinux-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/gpu/drm/xe/xe_bo_types.h')
0 files changed, 0 insertions, 0 deletions