The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=e63690e885d2ad08c361d4d7cfd0e3b5c9af459c

commit e63690e885d2ad08c361d4d7cfd0e3b5c9af459c
Author:     Warner Losh <[email protected]>
AuthorDate: 2023-04-21 16:21:40 +0000
Commit:     Warner Losh <[email protected]>
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,

Reply via email to