i40e: Change some memcpys to struct assignments
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Tue, 31 Mar 2015 07:45:01 +0000 (00:45 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 3 Apr 2015 10:54:29 +0000 (03:54 -0700)
commit1a2f62489b5dc15bd2aadb1de2e38f732e2c4553
treedb1bef56a9df8ce30875fadeeebee2c5e41ca041
parent25fc0e6590d7c18886cab667430c0da16f0586c4
i40e: Change some memcpys to struct assignments

Several memcpys are not necessary and can be changed to structure
assignments.  Struct assignments are always type safe so this
is preferable.

Change-ID: I7daf45a4b5e799c686b9d5c8ba9db047584ab82b
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c