migration/rdma: Retire macro ERROR()
commit8fd471bd777d70dce7826c2b903e0e791ead764e
authorMarkus Armbruster <armbru@redhat.com>
Thu, 28 Sep 2023 13:19:58 +0000 (28 15:19 +0200)
committerJuan Quintela <quintela@redhat.com>
Wed, 11 Oct 2023 09:17:04 +0000 (11 11:17 +0200)
treed9ebb37190d74086b765da9d01ceab28358fdbee
parent1718f238d1ee3c40496a36d6e4dc88ad21a04896
migration/rdma: Retire macro ERROR()

ERROR() has become "error_setg() unless an error has been set
already".  Hiding the conditional in the macro is in the way of
further work.  Replace the macro uses by their expansion, and delete
the macro.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Li Zhijian <lizhijian@fujitsu.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20230928132019.2544702-33-armbru@redhat.com>
migration/rdma.c