ice: replace unnecessary memcpy with direct assignment
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 20 Sep 2018 00:23:05 +0000 (17:23 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 28 Sep 2018 18:16:36 +0000 (11:16 -0700)
commit95a525bee0edc708548b2da4508b5666faa63989
tree7010b291eba1a8c5fa6ebfcaa795ea20aaaa9cea
parentc913b73cd05d8167433846eeb5b1d97dc820d7df
ice: replace unnecessary memcpy with direct assignment

Direct assignment is preferred over a memcpy()

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@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_controlq.c