From nobody Fri Apr 21 16:33:15 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q30Sq2cJ1z46cBf; Fri, 21 Apr 2023 16:33:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q30Sq26f6z3GB9; Fri, 21 Apr 2023 16:33:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682094795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nluLoih481tqaEX+DEbMDT4fY0B1KHnSMCyTNFHHp/w=; b=UGu/YMgGzifp+CrSJTMbMaThtVqMjWr625SSsucK13YD8TQ0tUNjXdG5gJxrQSUK0IsV8e QGwMUf0GIkVbiN0uSFPVGicSEQ8s9phq3OkjYE3oMGGMc9Cg4D17yEkZ0w/1+WLPuoz26L 5rzSEEdMpAu8Td2p0KL1ZoqFe6yCwqU+DI6dnZHmRrrshbHpeA1u3JUYKpPxYmtxouZ50J 3PAuw5GiMBSQDZMltWPCi+RubsRFws190Y9cHVSvOwsDPtlSwqr+xCURwY4R3WAQ9pRbe9 L0rPrhaOVMzqGQj+szqLIKdR/bAL5K2VfiP7DG89oPuz3NpoE67kXVHopApy4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682094795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nluLoih481tqaEX+DEbMDT4fY0B1KHnSMCyTNFHHp/w=; b=rvNVXWDhkegyAXRQyBOR0hGkfcNSrEAckaK5kHxTtIuqNbk58U+L74VHaA0veYWaNcr3f4 7r9QJ47ogGHfFLzF5FKrns/Ubg2bekZWUmJB+aUBY7+6cdxcJyXNr90GfcuA1OGOOKCKPt dUSbuWThfbFBwjXO/TK6JuLT0px/xwjc8AuxRd6M08XouPeG6k2Kx4nOKbEjfgLeWpRppN dg9MqhulE442JuQ1BkNwyCbR9IfWmk/tqYWsghb88p+kAWp47YcTI1EvCnxFiSVkxdbLvI JaZOsGraU+UhlcF+lVFRwAQpfWKd8eRW1zs4p6bcFK7zYle51Ba3nloU8XJBVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682094795; a=rsa-sha256; cv=none; b=eP61U1weJJbqq5zAYOB3CT5cbZ/JSJPHAwC05KtAtjEywM0XSovrPKzKZnAmdFIW6VPJMN QEnu7fciX7FLwl1ditCW8TUUfVhYx2dsKUm39JgoDC+tBSeMZqvdhlsxNsd6dwH+23bmZF x/YTGSri/NF4wlfslmKppHfmVPUwhodLqRaAZTNJ2LOxaa4sDUPdT8PklVw8635j3dtt70 +2l0n4pZ3EtH89RzkSwisOh/vILeSY9mshMiMbDi3D52/yWjlLUX+A/GdaPsadLHkcyrAy /54gxCpcg0NjtroSe2/EzlLNk4RnXq3DW0WALcizH9J+W0sujKlgE4RMv8hkAA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q30Sq1D3vzSC6; Fri, 21 Apr 2023 16:33:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33LGXFb1048479; Fri, 21 Apr 2023 16:33:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33LGXF1f048478; Fri, 21 Apr 2023 16:33:15 GMT (envelope-from git) Date: Fri, 21 Apr 2023 16:33:15 GMT Message-Id: <202304211633.33LGXF1f048478@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: e63690e885d2 - main - truss: Kill dead code List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e63690e885d2ad08c361d4d7cfd0e3b5c9af459c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=e63690e885d2ad08c361d4d7cfd0e3b5c9af459c commit e63690e885d2ad08c361d4d7cfd0e3b5c9af459c Author: Warner Losh AuthorDate: 2023-04-21 16:21:40 +0000 Commit: Warner Losh 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,