]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
semihosting/guestfd: Remove unused 'semihosting/uaccess.h' header
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 6 Dec 2023 15:12:12 +0000 (16:12 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 26 Apr 2024 13:31:37 +0000 (15:31 +0200)
Nothing in guestfd.c requires "semihosting/uaccess.h" nor "qemu.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20231212123401.37493-8-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
semihosting/guestfd.c

index 955c2efbd0c2d37351719196ab1ac4f567107791..d3241434c516f7e31faa0903f440381436cd6258 100644 (file)
 #include "gdbstub/syscalls.h"
 #include "semihosting/semihost.h"
 #include "semihosting/guestfd.h"
-#ifdef CONFIG_USER_ONLY
-#include "qemu.h"
-#else
-#include "semihosting/uaccess.h"
+#ifndef CONFIG_USER_ONLY
 #include CONFIG_DEVICES
 #endif