ice: fix typo in assignment

Fix an obviously incorrect assignment, created with a typo or cut-n-paste
error.

Fixes: 5995ef88e3 ("ice: realloc VSI stats arrays")
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
This commit is contained in:
Jesse Brandeburg 2024-03-04 16:37:07 -08:00 committed by Tony Nguyen
parent 9224fc86f1
commit 6c5b6ca764

View File

@ -3192,7 +3192,7 @@ ice_vsi_realloc_stat_arrays(struct ice_vsi *vsi)
} }
} }
tx_ring_stats = vsi_stat->rx_ring_stats; tx_ring_stats = vsi_stat->tx_ring_stats;
vsi_stat->tx_ring_stats = vsi_stat->tx_ring_stats =
krealloc_array(vsi_stat->tx_ring_stats, req_txq, krealloc_array(vsi_stat->tx_ring_stats, req_txq,
sizeof(*vsi_stat->tx_ring_stats), sizeof(*vsi_stat->tx_ring_stats),