]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
pc: make pc_dimm_plug() more readble
authorIgor Mammedov <imammedo@redhat.com>
Fri, 31 Oct 2014 16:38:35 +0000 (16:38 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 23 Nov 2014 10:11:30 +0000 (12:11 +0200)
commit34dde13685ebc2c07923f32ad69e40b27c0e0bb4
tree49118404a7167a6f8a2169a6400bb71f959d521a
parentb8865591d4d5680b4f766c25ca1db110320b4d15
pc: make pc_dimm_plug() more readble

split addr initialization from declaration so that
later when new local vars are added property getter
wouldn't drift off of error check.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc.c