diff options
author | Wei Yang <richardw.yang@linux.intel.com> | 2019-10-06 08:02:47 +0800 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2019-10-11 14:53:30 +0100 |
commit | 2a461c2467bb58e034c857e47a4a530bdca22227 (patch) | |
tree | d7d707ff282419fdbc4eca9cf91e68c99478c0d6 /trace/control-internal.h | |
parent | 4991f3091ede9d05312447c12e914481032185c0 (diff) |
migration/postcopy: mis->have_listen_thread check will never be touched
If mis->have_listen_thread is true, this means current PostcopyState
must be LISTENING or RUNNING. While the check at the beginning of the
function makes sure the state transaction happens when its previous
PostcopyState is ADVISE or DISCARD.
This means we would never touch this check.
Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Message-Id: <20191006000249.29926-2-richardw.yang@linux.intel.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'trace/control-internal.h')
0 files changed, 0 insertions, 0 deletions