On 2015-01-29 at 04:37, Markus Armbruster wrote:
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 QERR_DEVICE_ENCRYPTED and QERR_DEVICE_NOT_ENCRYPTED.

Signed-off-by: Markus Armbruster <arm...@redhat.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
---
  block.c                   | 5 +++--
  include/qapi/qmp/qerror.h | 6 ------
  2 files changed, 3 insertions(+), 8 deletions(-)

Reviewed-by: Max Reitz <mre...@redhat.com>

Reply via email to