]> 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)
commit5017a214505fe29b6e8e7e9f99482ddf79bca31a
tree741f222fb1edf7b28aeb6c6e54ed0f298c1413a3
parent39cf64dc2153c0724faee1e1dcf1c279a3e836e6
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