]> git.proxmox.com Git - mirror_qemu.git/commit - migration/ram.c
migration: Don't return for postcopy_send_discard_bm_ram()
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 30 Dec 2021 16:05:25 +0000 (17:05 +0100)
committerJuan Quintela <quintela@redhat.com>
Fri, 28 Jan 2022 14:38:23 +0000 (15:38 +0100)
commit9e7d1223ace8c1182e362de8894ebe8d111c8918
tree7111cc11e67435266f2a97f84a9205de6e3990c6
parent739fcc1b0e4b04216f971c9fb87fb0e9ec599c34
migration: Don't return for postcopy_send_discard_bm_ram()

postcopy_send_discard_bm_ram() always return zero. Since it can't
fail, simplify and do not return anything.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: David Edmondson <david.edmondson@oracle.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/ram.c