diff options
| author | Jacob Keller <[email protected]> | 2022-02-23 00:27:12 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2022-03-15 20:23:14 +0000 |
| commit | 5a57ee83d9612342552f63b7a7f4f4bd2e885832 (patch) | |
| tree | 817851afc5b9f8403d0e22f2e31008b23ceeceb7 /net/unix/af_unix.c | |
| parent | ice: introduce ice_virtchnl.c and ice_virtchnl.h (diff) | |
| download | kernel-5a57ee83d9612342552f63b7a7f4f4bd2e885832.tar.gz kernel-5a57ee83d9612342552f63b7a7f4f4bd2e885832.zip | |
ice: remove PF pointer from ice_check_vf_init
The ice_check_vf_init function takes both a PF and a VF pointer. Every
caller looks up the PF pointer from the VF structure. Some callers only
use of the PF pointer is call this function. Move the lookup inside
ice_check_vf_init and drop the unnecessary argument.
Cleanup the callers to drop the now unnecessary local variables. In
particular, replace the local PF pointer with a HW structure pointer in
ice_vc_get_vf_res_msg which simplifies a few accesses to the HW
structure in that function.
Signed-off-by: Jacob Keller <[email protected]>
Tested-by: Konrad Jankowski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
