]> git.baikalelectronics.ru Git - kernel.git/commit
[media] staging: media: cxd2099: remove memcpy of similar structure variables
authorDevendra Naga <develkernel412222@gmail.com>
Sun, 5 Aug 2012 19:40:02 +0000 (16:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Aug 2012 10:29:43 +0000 (07:29 -0300)
commitd93ef8c220d6f7504008707d6c65888e7a023782
treeec7aa4ec849b64cf2d8b86c32cf527aeb57961df
parent0eaac41a65404303326b8ccf1340d0e2634b354a
[media] staging: media: cxd2099: remove memcpy of similar structure variables

structure variables can be assigned, no memcpy needed,
remove the memcpy and use assignment for the cfg and en variables.

Tested by Compilation Only

Suggested-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Cc: Ralph Metzler <rjkm@metzlerbros.de>
Cc: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/cxd2099/cxd2099.c