aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@bsdimp.com>2021-04-23 09:14:55 -0600
committerWarner Losh <imp@bsdimp.com>2021-05-11 11:07:22 -0600
commit5a3d8177bf0ce9f541072fc8a02a070d40445c63 (patch)
tree7336e19660026eb9a775e5281db8c6f74c451154
parentf4a1016fb375b9a4c454002db5dabaf145086d1a (diff)
bsd-user: style tweak: Remove #if 0'd code
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Warner Losh <imp@bsdimp.com>
-rw-r--r--bsd-user/strace.c8
1 files changed, 0 insertions, 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
*/