]> www.infradead.org Git - linux-platform-drivers-x86.git/commit
ice: cleanup VSI context initialization
authorJacob Keller <jacob.e.keller@intel.com>
Sat, 16 May 2020 00:42:23 +0000 (17:42 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 28 May 2020 22:48:39 +0000 (15:48 -0700)
commit072064a43ef38fab8559edfbf12f918f8acdd85b
tree741f222fb1edf7b28aeb6c6e54ed0f298c1413a3
parent9918f2d22fd3ff1e76693512d29e743eba3dc8cb
ice: cleanup VSI context initialization

Remove an unnecessary copy of vsi->info into ctxt->info in ice_vsi_init.
This line is essentially a no-op because ice_set_dflt_vsi_ctx performs
a memset to clear the info from the context structure.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_lib.c