]> git.baikalelectronics.ru Git - kernel.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)
commitc2d1ff974a1cee69eec7d9d0e22646086c0cd38e
tree741f222fb1edf7b28aeb6c6e54ed0f298c1413a3
parent8020a43b5acbd9afdf75fb61864c2c70fc35abc1
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