staging: vc04_services: Removed unnecessary variable

Removed unnecessary variable and used instead the parameter
that was already defined

Signed-off-by: Narcisa Ana Maria Vasile <narcisaanamaria12@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Narcisa Ana Maria Vasile 2017-03-01 02:40:59 +02:00 committed by Greg Kroah-Hartman
parent fa2ccd35d7
commit 372499b589

View File

@ -755,9 +755,7 @@ memcpy_copy_callback(
void *context, void *dest,
size_t offset, size_t maxsize)
{
void *src = context;
memcpy(dest + offset, src + offset, maxsize);
memcpy(dest + offset, context + offset, maxsize);
return maxsize;
}