hw/i386/pc: Use address_space_memory in place
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Sun, 18 Aug 2019 22:54:02 +0000 (00:54 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Sep 2019 15:13:07 +0000 (17:13 +0200)
commit0f432b3064a227bfce34bede1ba40eb7f0cb3262
tree33d1e1fed45b72fafaa056a3991d657706c196fb
parentd6d059ca07ae907b8945f88c382fb54d43f9f03a
hw/i386/pc: Use address_space_memory in place

The address_space_memory variable is used once.
Use it in place and remove the argument.

Suggested-by: Samuel Ortiz <sameo@linux.intel.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190818225414.22590-4-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/pc.c