aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2021-03-31 14:17:03 -0700
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-04-14 17:00:06 -0700
commit1cdea9a7eae3a976adc2735bc7ce62ac07cafcdb (patch)
treefbf898d5992a3320a0ae51092c9e839cbf7d235a /drivers/net/ethernet/intel/ice/ice_lib.c
parent58623c52b4278de6ed462e6f25402457ffbdd63f (diff)
downloadlinux-1cdea9a7eae3a976adc2735bc7ce62ac07cafcdb.tar.gz
linux-1cdea9a7eae3a976adc2735bc7ce62ac07cafcdb.tar.bz2
linux-1cdea9a7eae3a976adc2735bc7ce62ac07cafcdb.zip
ice: remove unused struct member
The only time you can ever have a rq_last_status is if a firmware event was somehow reporting a status on the receive queue, which are generally firmware initiated events or mailbox messages from a VF. Mostly this struct member was unused. Fix this problem by still printing the value of the field in a debug print, but don't store the value forever in a struct, potentially creating opportunities for callers to use the wrong struct member. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Tony Brelinski <tonyx.brelinski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions