]> git.proxmox.com Git - mirror_qemu.git/commit
target-i386: kvm: do not initialize padding fields
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Oct 2018 12:35:23 +0000 (14:35 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Oct 2018 11:44:04 +0000 (13:44 +0200)
commitb31c003895b030bea1319037d6bec976d47d9020
tree478fe9cdbd9c805e33445ea28e67db42763f402c
parente81f86790f561437b70549aff05433731b464e62
target-i386: kvm: do not initialize padding fields

The exception.pad field is going to be renamed to pending in an upcoming
header file update.  Remove the unnecessary initialization; it was
introduced to please valgrind (commit 7e680753cfa2) but they were later
rendered unnecessary by commit 076796f8fd27f4d, which added the "= {}"
initializer to the declaration of "events".  Therefore the patch does
not change behavior in any way.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/kvm.c