physmem: Reduce local variable scope in flatview_read/write_continue()
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 7 Mar 2024 15:37:08 +0000 (15:37 +0000)
committerPeter Xu <peterx@redhat.com>
Mon, 11 Mar 2024 18:41:40 +0000 (14:41 -0400)
commitbcfd8ba4f5d887dc9923738131c8598e90e76bb2
tree61f5176d38c2868a22939c4d0f1215ced688d4f3
parent4c7c8563191fd65d98cba05352a1fc1fbef6d817
physmem: Reduce local variable scope in flatview_read/write_continue()

Precursor to factoring out the inner loops for reuse.

Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Link: https://lore.kernel.org/r/20240307153710.30907-3-Jonathan.Cameron@huawei.com
Signed-off-by: Peter Xu <peterx@redhat.com>
system/physmem.c