Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2023 16:33:15 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e63690e885d2 - main - truss: Kill dead code
Message-ID:  <202304211633.33LGXF1f048478@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304211633.33LGXF1f048478>