aboutsummaryrefslogtreecommitdiff
path: root/linux-user/uname.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/uname.c')
-rw-r--r--linux-user/uname.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux-user/uname.c b/linux-user/uname.c
index fa5013e76c..f5d4c66f59 100644
--- a/linux-user/uname.c
+++ b/linux-user/uname.c
@@ -155,7 +155,6 @@ void init_qemu_uname_release(void)
* a specific fake version number, we might want to fake a minimum
* target kernel version.
*/
-#ifdef UNAME_MINIMUM_RELEASE
struct new_utsname buf;
if (qemu_uname_release && *qemu_uname_release) {
@@ -169,5 +168,4 @@ void init_qemu_uname_release(void)
if (relstr_to_int(buf.release) < relstr_to_int(UNAME_MINIMUM_RELEASE)) {
qemu_uname_release = UNAME_MINIMUM_RELEASE;
}
-#endif
}