]> git.baikalelectronics.ru Git - kernel.git/commit
x86, intel_mid: Replace memcpy with struct assignment
authorFengguang Wu <fengguang.wu@intel.com>
Fri, 17 Jan 2014 00:13:08 +0000 (16:13 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 17 Jan 2014 00:11:10 +0000 (16:11 -0800)
commit129e8aeaa1c7f4086737ebebc75a7396f7ea075f
tree59ea70dac5853f42e6e87e45202c64833b6fabaf
parent2d1d3bf1aece33d8f0bc1984e7d805b70ee7fd65
x86, intel_mid: Replace memcpy with struct assignment

This is a cleanup proposed by coccinelle. It replaces memcpy with struct
assignment on intel-mid's sfi layer.

Generated by: coccinelle/misc/memcpy-assign.cocci

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Link: http://lkml.kernel.org/r/1389917588-9785-1-git-send-email-david.a.cohen@linux.intel.com
Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/platform/intel-mid/sfi.c