i40e: use assignment instead of memcpy
authorMitch Williams <mitch.a.williams@intel.com>
Wed, 18 Dec 2013 13:46:04 +0000 (13:46 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 11 Jan 2014 00:30:31 +0000 (16:30 -0800)
commitc36bd4a7ce0228d47f086aba12d159d9315cfd30
tree97e88828f95402614ce5028446d732045ad28bf9
parent11b57f90257c1d6a91cee720151b69e0c2020cf6
i40e: use assignment instead of memcpy

These instances were found by coccinelle/spatch, and can
use struct assignment instead of memcpy.

Change-ID: Idc23c3599241bf8a658bda18c80417af3fbfee66
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>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_adminq.c
drivers/net/ethernet/intel/i40e/i40e_common.c
drivers/net/ethernet/intel/i40e/i40e_hmc.c