diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-03-09 16:45:04 +0000 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:49:36 -0600 |
commit | 4b8c11b5f884d6d04bb4ea946b7c92b7cd91f756 (patch) | |
tree | 43224b883884ca23f6aa30c7f2bc060a4afdb398 /po/Makefile | |
parent | ddbe962066d2fbafa22d3dd98bc4ab045a1b04a0 (diff) | |
download | hqemu-4b8c11b5f884d6d04bb4ea946b7c92b7cd91f756.zip hqemu-4b8c11b5f884d6d04bb4ea946b7c92b7cd91f756.tar.gz |
char: remove socket_try_connect method
The qemu_chr_open_socket_fd() method multiplexes three different
actions into one method. The socket_try_connect() method is one
of its callers, but it only ever want one specific action
performed. By inlining that action into socket_try_connect()
we see that there is not in fact any failure scenario, so there
is not even any reason for socket_try_connect to exist. Just
inline the asynchronous connection attempts directly at the
places that need them. This shortens & clarifies the code.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'po/Makefile')
0 files changed, 0 insertions, 0 deletions