summary refs log tree commit diff stats
path: root/include/hw/hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/hw.h')
-rw-r--r--include/hw/hw.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/hw/hw.h b/include/hw/hw.h
index 045c1c8b09..1b33d12b7f 100644
--- a/include/hw/hw.h
+++ b/include/hw/hw.h
@@ -1,10 +1,6 @@
 #ifndef QEMU_HW_H
 #define QEMU_HW_H
 
-#ifdef CONFIG_USER_ONLY
-#error Cannot include hw/hw.h from user emulation
-#endif
-
 G_NORETURN void hw_error(const char *fmt, ...) G_GNUC_PRINTF(1, 2);
 
 #endif