[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 13/48] bsd-user: style tweak: Remove #if 0'd code
From: |
imp |
Subject: |
[PATCH v2 13/48] bsd-user: style tweak: Remove #if 0'd code |
Date: |
Sat, 24 Apr 2021 09:59:41 -0600 |
From: Warner Losh <imp@bsdimp.com>
Signed-off-by: Warner Losh <imp@bsdimp.com>
---
bsd-user/strace.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/bsd-user/strace.c b/bsd-user/strace.c
index 2c3b59caf0..be40b8a20c 100644
--- a/bsd-user/strace.c
+++ b/bsd-user/strace.c
@@ -128,14 +128,6 @@ static void print_syscall_ret_addr(const struct
syscallname *name, abi_long ret)
}
}
-#if 0 /* currently unused */
-static void
-print_syscall_ret_raw(struct syscallname *name, abi_long ret)
-{
- gemu_log(" = 0x" TARGET_ABI_FMT_lx "\n", ret);
-}
-#endif
-
/*
* An array of all of the syscalls we know about
*/
--
2.22.1
- [PATCH v2 00/48] bsd-user style and reorg patches, imp, 2021/04/24
- [PATCH v2 01/48] bsd-user: whitespace changes, imp, 2021/04/24
- [PATCH v2 03/48] bsd-user: whitespace changes, imp, 2021/04/24
- [PATCH v2 02/48] bsd-user: whitespace changes, imp, 2021/04/24
- [PATCH v2 05/48] bsd-user: style tweak: keyword space (, imp, 2021/04/24
- [PATCH v2 04/48] bsd-user: style tweak: keyword space (, imp, 2021/04/24
- [PATCH v2 06/48] bsd-user: style tweak: keyword space (, imp, 2021/04/24
- [PATCH v2 07/48] bsd-user: style tweak: keyword space (, imp, 2021/04/24
- [PATCH v2 08/48] bsd-user: style tweak: use C not C++ comments, imp, 2021/04/24
- [PATCH v2 09/48] bsd-user: style tweak: use C not C++ comments, imp, 2021/04/24
- [PATCH v2 13/48] bsd-user: style tweak: Remove #if 0'd code,
imp <=
- [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, 2021/04/24