net/ice/base: remove unused struct member
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 15 Dec 2020 05:27:45 +0000 (13:27 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:06 +0000 (16:03 +0100)
commit484d2637a45520229d19745a91e860cf2734aca8
treed913c8bf1070bf934adf17a77c1724ad9944aacf
parenta018a05ad98059578bfec9938f4c840e5b0d481e
net/ice/base: 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>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_controlq.c
drivers/net/ice/base/ice_controlq.h