]> git.proxmox.com Git - mirror_qemu.git/commit
migration/rdma: Drop dead qemu_rdma_data_init() code for !@host_port
authorMarkus Armbruster <armbru@redhat.com>
Thu, 28 Sep 2023 13:19:48 +0000 (15:19 +0200)
committerJuan Quintela <quintela@redhat.com>
Wed, 11 Oct 2023 09:17:03 +0000 (11:17 +0200)
commitd63f4016b1d154e9ab62e849e6fbb6ded344bcb2
tree7d0c8defadea640a6a4fe547b90751ea8ee462fe
parentf35c0d9b0773e3ad143eeaf8d7ef3d4ce85a7e7f
migration/rdma: Drop dead qemu_rdma_data_init() code for !@host_port

qemu_rdma_data_init() neglects to set an Error when it fails because
@host_port is null.  Fortunately, no caller passes null, so this is
merely a latent bug.  Drop the flawed code handling null argument.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20230928132019.2544702-23-armbru@redhat.com>
migration/rdma.c