diff options
| author | Paul M Stillwell Jr <[email protected]> | 2021-03-31 21:17:07 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-04-15 00:12:17 +0000 |
| commit | 4fe36226943b9ca99cf51573297b39644a1946d6 (patch) | |
| tree | 679b6d190d6cb56e677639a12c46d04d69d2655f /drivers/net/ethernet/intel/ice/ice_lib.h | |
| parent | ice: suppress false cppcheck issues (diff) | |
| download | kernel-4fe36226943b9ca99cf51573297b39644a1946d6.tar.gz kernel-4fe36226943b9ca99cf51573297b39644a1946d6.zip | |
ice: remove return variable
We were saving the return value from ice_vsi_manage_rss_lut(), but
the errors from that function are not critical so change it to
return void and remove the code that saved the value.
Signed-off-by: Paul M Stillwell Jr <[email protected]>
Tested-by: Tony Brelinski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.h')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice_lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_lib.h b/drivers/net/ethernet/intel/ice/ice_lib.h index f48c5ccb8036..511c2316c40c 100644 --- a/drivers/net/ethernet/intel/ice/ice_lib.h +++ b/drivers/net/ethernet/intel/ice/ice_lib.h @@ -85,7 +85,7 @@ void ice_vsi_free_rx_rings(struct ice_vsi *vsi); void ice_vsi_free_tx_rings(struct ice_vsi *vsi); -int ice_vsi_manage_rss_lut(struct ice_vsi *vsi, bool ena); +void ice_vsi_manage_rss_lut(struct ice_vsi *vsi, bool ena); void ice_update_tx_ring_stats(struct ice_ring *ring, u64 pkts, u64 bytes); |
