diff options
author | 2023-02-10 03:36:29 -0300 | |
---|---|---|
committer | 2023-02-13 03:45:28 +0100 | |
commit | d926f3bb2a84fdb746678629279a143f568c3c86 (patch) | |
tree | b9b6b12d7832df5b852055e663eb5ba79c8641cd /scripts/coverage/compare_gcov_json.py | |
parent | migration/multifd: Change multifd_load_cleanup() signature and usage (diff) | |
download | qemu-d926f3bb2a84fdb746678629279a143f568c3c86.tar.xz qemu-d926f3bb2a84fdb746678629279a143f568c3c86.zip |
migration/multifd: Remove unnecessary assignment on multifd_load_cleanup()
Before assigning "p->quit = true" for every multifd channel,
multifd_load_cleanup() will call multifd_recv_terminate_threads() which
already does the same assignment, while protected by a mutex.
So there is no point doing the same assignment again.
Fixes: b5eea99ec2 ("migration: Add yank feature")
Reported-by: Li Xiaohui <xiaohli@redhat.com>
Signed-off-by: Leonardo Bras <leobras@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'scripts/coverage/compare_gcov_json.py')
0 files changed, 0 insertions, 0 deletions