i40e: remove unnecessary string copy operations
authorShannon Nelson <shannon.nelson@intel.com>
Thu, 3 Sep 2015 21:19:00 +0000 (17:19 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 15 Oct 2015 09:20:13 +0000 (02:20 -0700)
commita916549029848f1356bf2d797e83218de53f17b2
tree7470c617052da9a0fef603d3dd1fe1b1e5d04446
parent3fced535079a6aaff2d85bd5c52ad50df0558e3d
i40e: remove unnecessary string copy operations

Save a little stack space and remove unnecessary strncpy() with a little
string pointer.

Change-ID: Id2719d34710bfc273d3bb445fec085cd04276e88
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c