Commit 372499b5 authored by Narcisa Ana Maria Vasile's avatar Narcisa Ana Maria Vasile Committed by Greg Kroah-Hartman

staging: vc04_services: Removed unnecessary variable

Removed unnecessary variable and used instead the parameter
that was already defined
Signed-off-by: default avatarNarcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>
Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fa2ccd35
...@@ -755,9 +755,7 @@ memcpy_copy_callback( ...@@ -755,9 +755,7 @@ memcpy_copy_callback(
void *context, void *dest, void *context, void *dest,
size_t offset, size_t maxsize) size_t offset, size_t maxsize)
{ {
void *src = context; memcpy(dest + offset, context + offset, maxsize);
memcpy(dest + offset, src + offset, maxsize);
return maxsize; return maxsize;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment