From nobody Tue Jan 07 14:32:30 2025 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 4YSD664b4Xz5kf90; Tue, 07 Jan 2025 14:32:30 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YSD661J0xz4JZT; Tue, 7 Jan 2025 14:32:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736260350; 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=k5vldgnJWRvvyViYTMZsji12LuuTcUN+/cEF9WqMmEQ=; b=wg+PVOgpRjqgr9W0hkOa6karOr1HbArR+Fx+rAokc+52SiGxs4LJxmVn4yPlL/b+Tha5fO iJLYRuuA5TdyxrQ11eJGQoh8/dYxsAFrSmQEpknPhKIgIQo+pY2jkRvaexLZtn+uY/XnvH i105xqS3UaenxayYd/J7mwEwg6K9jw67XEUKYvsM4rC+8Ee4kv9hc7LK4Ba8mEZxGG4drR a7B97FsZTB9lwp4B8fSUwbUW0s9thzAR3OhzYwmDj3plKiC7A9MSFRJIGaEH8ypo1f81Wk dVgzwHOMpFvgU/RRa4pPOdsxXdweJFrL1QvDkZ+P/402cTQ21As+y37iNl/MUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736260350; 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=k5vldgnJWRvvyViYTMZsji12LuuTcUN+/cEF9WqMmEQ=; b=f0fv3aWBLwvfB76oeqIVhrYe9od0QyDK0jUCNzdEVWMgGwIxdjVllotV7FAm1MLxkh52aV ropKwxPZR7/tkbZ9/Wf5zw1hCqDXwBZTBUDKHEvbIu4u35WKYyyKoGtcDjv84Mc6X5NRJC lR1dTmfxQjEgd6SWH/0EMmTS6KQGIqCV6mlfX4EKhn9ECRL9MXFw1Q43plnCXofyl7tVby //nj1vZAf2ws9Lck5kgXYMhXaCnwkJ3CjLZA9Lvzf1cHIMcv7fLNjYJDQHWFkWxHgRGrxh yzAce/MS4h/aWLuwEP3neoiryOs6PjTtJkHZ8J51TMUo4++trdg+gM7Kg3Gxiw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736260350; a=rsa-sha256; cv=none; b=BHOiVYsxnp56ZUu5UpUto/ddfWRgf1mgNFoWgr7GLNvIyvwR/gQ/oDtPHEZYT9jZgvtEgF CtwTA/5McEfKh1y1MHi40YUzocq+Dxu0e9OFsSbLeD5XG2qCQyvXOXlPjjE8prwIWSLzQK lRoC+JCkD2IJE9S0AmA1W6vEdWWTa6q8PQAo4TI9B0WO3GRcLYRtm+kpBo1wkoublxtUTx i8GABPrchJdTqiugaEVavavm65d53De6WurQIzcJXlIthzsJjwooMYDqbhqXIMDpssYkmT guqZE4vMBE9C0VfyMgCds9cLc2WAcnsQcjG0V1+NbnF8aWPQrZEzCcJfXezo0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YSD660tfxz1Cfx; Tue, 07 Jan 2025 14:32:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 507EWUGf015527; Tue, 7 Jan 2025 14:32:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 507EWULc015524; Tue, 7 Jan 2025 14:32:30 GMT (envelope-from git) Date: Tue, 7 Jan 2025 14:32:30 GMT Message-Id: <202501071432.507EWULc015524@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 2be86b6cc168 - main - makefs: Remove dead code in inode_type() 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2be86b6cc168615e19350710347b77616c4b7f19 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=2be86b6cc168615e19350710347b77616c4b7f19 commit 2be86b6cc168615e19350710347b77616c4b7f19 Author: Mark Johnston AuthorDate: 2025-01-07 14:30:53 +0000 Commit: Mark Johnston CommitDate: 2025-01-07 14:32:20 +0000 makefs: Remove dead code in inode_type() No functional change intended. MFC after: 1 week --- usr.sbin/makefs/walk.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/usr.sbin/makefs/walk.c b/usr.sbin/makefs/walk.c index 401865229957..fe1fe8df80db 100644 --- a/usr.sbin/makefs/walk.c +++ b/usr.sbin/makefs/walk.c @@ -603,8 +603,6 @@ inode_type(mode_t mode) return ("symlink"); if (S_ISDIR(mode)) return ("dir"); - if (S_ISLNK(mode)) - return ("link"); if (S_ISFIFO(mode)) return ("fifo"); if (S_ISSOCK(mode))