diff options
author | David Hildenbrand <david@redhat.com> | 2021-07-08 11:53:39 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-09-04 16:35:17 -0400 |
commit | 2d050ed07c97a88202dac3eef64263e1f2556bfe (patch) | |
tree | 996c4bc86f3f79eab5ed834efcfcd383ff45e0d5 /fpu | |
parent | fd51e54fa10221e5a8add894c38cc1cf199f4bc4 (diff) | |
download | qemu-2d050ed07c97a88202dac3eef64263e1f2556bfe.zip qemu-2d050ed07c97a88202dac3eef64263e1f2556bfe.tar.gz qemu-2d050ed07c97a88202dac3eef64263e1f2556bfe.tar.bz2 |
virtio-balloon: free page hinting cleanups
Let's compress the code a bit to improve readability. We can drop the
vm_running check in virtio_balloon_free_page_start() as it's already
properly checked in the single caller.
Cc: Wei Wang <wei.w.wang@intel.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Cc: Alexander Duyck <alexander.duyck@gmail.com>
Cc: Juan Quintela <quintela@redhat.com>
Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: Peter Xu <peterx@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20210708095339.20274-3-david@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'fpu')
0 files changed, 0 insertions, 0 deletions