aboutsummaryrefslogtreecommitdiff
path: root/pc-bios
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2015-02-16 10:50:25 +0300
committerJuan Quintela <quintela@redhat.com>2015-03-17 15:20:37 +0100
commit1dbd2fd9cbf29c74131e439ce80fb2efde56ee32 (patch)
tree0c7e1cae8c20177950816e7e877aca0d4d2a8b87 /pc-bios
parent97baf9d9f768caac57bb98d79a1d878181e8a052 (diff)
migration/rdma: clean up qemu_rdma_dest_init a bit
Do not check for rdma->host being empty twice. This removes a large "if" block, so code indentation is changed. While at it, remove an ugly goto from the loop, replacing it with a cleaner if logic. And finally, there's no need to initialize `ret' variable since is always has a value. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Tested-by: Dr. David Alan Gilbert <dgilbert@redhat.com> -- fixed space detected by Dave Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'pc-bios')
0 files changed, 0 insertions, 0 deletions