aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice.h
diff options
context:
space:
mode:
authorMikhail Lobanov <[email protected]>2024-03-13 15:34:36 +0000
committerDavid S. Miller <[email protected]>2024-03-15 13:57:34 +0000
commit237bb5f7f7f55ec5f773469a974c61a49c298625 (patch)
tree051b76fbd1ce8435ca81bd37a7a400c4e0f3b8ab /drivers/net/ethernet/intel/ice/ice.h
parentnet: stmmac: dwmac-rk: Remove unused of_gpio.h (diff)
downloadkernel-237bb5f7f7f55ec5f773469a974c61a49c298625.tar.gz
kernel-237bb5f7f7f55ec5f773469a974c61a49c298625.zip
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 'drivers/net/ethernet/intel/ice/ice.h')
0 files changed, 0 insertions, 0 deletions