qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 14/48] bsd-user: style tweak: Remove #if 0'd code


From: imp
Subject: [PATCH v2 14/48] bsd-user: style tweak: Remove #if 0'd code
Date: Sat, 24 Apr 2021 09:59:42 -0600

From: Warner Losh <imp@bsdimp.com>

Signed-off-by: Warner Losh <imp@bsdimp.com>
---
 bsd-user/x86_64/target_syscall.h | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/bsd-user/x86_64/target_syscall.h b/bsd-user/x86_64/target_syscall.h
index a8e6274b76..ec99354e15 100644
--- a/bsd-user/x86_64/target_syscall.h
+++ b/bsd-user/x86_64/target_syscall.h
@@ -59,27 +59,12 @@ struct target_pt_regs {
 #define TARGET_GDT_ENTRY_TLS_MIN 12
 #define TARGET_GDT_ENTRY_TLS_MAX 14
 
-#if 0 // Redefine this
-struct target_modify_ldt_ldt_s {
-       unsigned int  entry_number;
-        abi_ulong     base_addr;
-       unsigned int  limit;
-       unsigned int  seg_32bit:1;
-       unsigned int  contents:2;
-       unsigned int  read_exec_only:1;
-       unsigned int  limit_in_pages:1;
-       unsigned int  seg_not_present:1;
-       unsigned int  useable:1;
-       unsigned int  lm:1;
-};
-#else
 struct target_modify_ldt_ldt_s {
        unsigned int  entry_number;
         abi_ulong     base_addr;
        unsigned int  limit;
         unsigned int flags;
 };
-#endif
 
 struct target_ipc64_perm
 {
-- 
2.22.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]