[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
- [PATCH v2 13/48] bsd-user: style tweak: Remove #if 0'd code, (continued)
- [PATCH v2 13/48] bsd-user: style tweak: Remove #if 0'd code, imp, 2021/04/24
- [PATCH v2 20/48] bsd-user: style tweak: use {} consistently in for / if / else statements, imp, 2021/04/24
- [PATCH v2 17/48] bsd-user: style tweak: Fix commentary issues, imp, 2021/04/24
- [PATCH v2 21/48] bsd-user: style nits: return is not a function, imp, 2021/04/24
- [PATCH v2 15/48] bsd-user: style tweak: return is not a function, eliminate (), imp, 2021/04/24
- [PATCH v2 12/48] bsd-user: style tweak: Remove #if 0'd code, imp, 2021/04/24
- [PATCH v2 14/48] bsd-user: style tweak: Remove #if 0'd code,
imp <=
- [PATCH v2 22/48] bsd-user: use qemu_strtoul in preference to strtol, imp, 2021/04/24
- [PATCH v2 10/48] bsd-user: Remove commented out code, imp, 2021/04/24
- [PATCH v2 24/48] bsd-user: create target_arch_cpu.h, imp, 2021/04/24
- [PATCH v2 32/48] bsd-user: style tweak: remove spacing after '*' and add after }, imp, 2021/04/24
- [PATCH v2 28/48] bsd-user: style tweak: comments, imp, 2021/04/24