mm/process_vm_access: remove redundant initialization of iov_r
authorColin Ian King <colin.king@canonical.com>
Tue, 15 Dec 2020 03:14:25 +0000 (19:14 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2020 20:13:46 +0000 (12:13 -0800)
commit95c9ae14a9b99a65956de80a1eefafcb901c0e9f
tree1af9a03a9a90640e7248251603f66d5b16945487
parent110ceb8287fd0af104a7a15db93534ab0dc2bc21
mm/process_vm_access: remove redundant initialization of iov_r

The pointer iov_r is being initialized with a value that is never read and
it is being updated later with a new value.  The initialization is
redundant and can be removed.

Link: https://lkml.kernel.org/r/20201102120614.694917-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/process_vm_access.c