summary refs log tree commit diff stats
path: root/hw/remote/memory.c
diff options
context:
space:
mode:
authorLukas Straub <lukasstraub2@web.de>2021-07-18 16:48:29 +0200
committerKevin Wolf <kwolf@redhat.com>2021-07-20 16:11:53 +0200
commita990a42b39338ffd12fb9640d792276313f75ed5 (patch)
tree308e818b15d3ac7491f2f022001107c92f58bf4a /hw/remote/memory.c
parent1e12ecfd2cd38d06278ee7424fa2ab0bf3c10e93 (diff)
downloadfocaccia-qemu-a990a42b39338ffd12fb9640d792276313f75ed5.tar.gz
focaccia-qemu-a990a42b39338ffd12fb9640d792276313f75ed5.zip
replication: Reduce usage of s->hidden_disk and s->secondary_disk
In preparation for the next patch, initialize s->hidden_disk and
s->secondary_disk later and replace access to them with local variables
in the places where they aren't initialized yet.

Signed-off-by: Lukas Straub <lukasstraub2@web.de>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <1eb9dc179267207d9c7eccaeb30761758e32e9ab.1626619393.git.lukasstraub2@web.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/remote/memory.c')
0 files changed, 0 insertions, 0 deletions