git: e63690e885d2 - main - truss: Kill dead code
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Apr 2023 16:33:15 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=e63690e885d2ad08c361d4d7cfd0e3b5c9af459c
commit e63690e885d2ad08c361d4d7cfd0e3b5c9af459c
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-04-21 16:21:40 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-04-21 16:24:26 +0000
truss: Kill dead code
If it doesn't exist, we don't need it in the table...
Sponsored by: Netflix
---
usr.bin/truss/syscalls.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c
index 2ac4b1a4b003..1d3232b15122 100644
--- a/usr.bin/truss/syscalls.c
+++ b/usr.bin/truss/syscalls.c
@@ -578,11 +578,6 @@ static const struct syscall_decode decoded_syscalls[] = {
.args = { { Long, 0 }, { Name, 1 } } },
{ .name = "truncate", .ret_type = 1, .nargs = 2,
.args = { { Name | IN, 0 }, { QuadHex | IN, 1 } } },
-#if 0
- /* Does not exist */
- { .name = "umount", .ret_type = 1, .nargs = 2,
- .args = { { Name, 0 }, { Int, 2 } } },
-#endif
{ .name = "unlink", .ret_type = 1, .nargs = 1,
.args = { { Name, 0 } } },
{ .name = "unlinkat", .ret_type = 1, .nargs = 3,