qemu-socket: Eliminate silly QERR_ macros
commit235256a2bdebf7097e524031d74b43bcb4adec30
authorMarkus Armbruster <armbru@redhat.com>
Thu, 25 Sep 2014 06:49:31 +0000 (25 08:49 +0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 26 Sep 2014 17:37:06 +0000 (26 13:37 -0400)
tree80e86b924149b52ea768de55b249d59335221a01
parentdbe2a7a62a94edfcf28826a39fffcc237ac1864b
qemu-socket: Eliminate silly QERR_ macros

The QERR_ macros are leftovers from the days of "rich" error objects.
They're used with error_set() and qerror_report(), and expand into the
first *two* arguments.  This trickiness has become pointless.  Clean
up.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
include/qapi/qmp/qerror.h
util/qemu-sockets.c