forked from Minki/linux
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:
parent
fa2ccd35d7
commit
372499b589
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user