summaryrefslogtreecommitdiffstats
path: root/include/qapi/qmp
diff options
context:
space:
mode:
authorMarkus Armbruster2020-11-13 09:26:18 +0100
committerMarkus Armbruster2020-12-10 17:16:44 +0100
commitf820af87433af84c13cd260807b59bbce47e2f0a (patch)
treee3e73a12d52903bd1d95e77a461f5914041bf72b /include/qapi/qmp
parentqerror: Drop unused QERR_ macros (diff)
downloadqemu-f820af87433af84c13cd260807b59bbce47e2f0a.tar.gz
qemu-f820af87433af84c13cd260807b59bbce47e2f0a.tar.xz
qemu-f820af87433af84c13cd260807b59bbce47e2f0a.zip
qerror: Eliminate QERR_ macros used in just one place
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20201113082626.2725812-3-armbru@redhat.com>
Diffstat (limited to 'include/qapi/qmp')
-rw-r--r--include/qapi/qmp/qerror.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/qapi/qmp/qerror.h b/include/qapi/qmp/qerror.h
index 3eabd451d8..c272e3fc29 100644
--- a/include/qapi/qmp/qerror.h
+++ b/include/qapi/qmp/qerror.h
@@ -25,21 +25,12 @@
#define QERR_DEVICE_HAS_NO_MEDIUM \
"Device '%s' has no medium"
-#define QERR_DEVICE_INIT_FAILED \
- "Device '%s' could not be initialized"
-
#define QERR_DEVICE_IN_USE \
"Device '%s' is in use"
#define QERR_DEVICE_NO_HOTPLUG \
"Device '%s' does not support hotplugging"
-#define QERR_FD_NOT_FOUND \
- "File descriptor named '%s' not found"
-
-#define QERR_FD_NOT_SUPPLIED \
- "No file descriptor supplied via SCM_RIGHTS"
-
#define QERR_FEATURE_DISABLED \
"The feature '%s' is not enabled"