]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
i40e: use struct assign instead of memcpy
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 28 Nov 2013 06:39:38 +0000 (06:39 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 6 Jan 2014 10:20:10 +0000 (02:20 -0800)
commit5a9769c827151def466f7e65619bc6aac643cf96
treeb25b0d590157fafb3dcdf4fbcaa40eba6044e3bb
parent567472640c6eb6e9b0cfe1bf91bb58507f9c77e5
i40e: use struct assign instead of memcpy

Use struct assignment rather than an expensive memory copy.

Change-Id: I1d18d510774dfd41a9c1250cdef238a4187528f5
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c