Re: [Qemu-devel] [PULL 06/47] migration/rdma: clean up qemu_rdma_dest_init a bit

2015-03-04 Thread Michael Tokarev
I'm terrible sorry for this -- I forgot to remove this patch from the trivial-patches queue. Should I re-do the pull request? 04.03.2015 20:06, Michael Tokarev wrote: Do not check for rdma-host being empty twice. This removes a large if block, so code indentation is changed. While at it,

[Qemu-devel] [PULL 06/47] migration/rdma: clean up qemu_rdma_dest_init a bit

2015-03-04 Thread Michael Tokarev
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.