From nobody Tue Jan 14 14:43:37 2025 X-Original-To: dev-commits-src-all@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 4YXX1j59Ljz5km4q; Tue, 14 Jan 2025 14:43:37 +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 4YXX1j2FyHz3gVS; Tue, 14 Jan 2025 14:43:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736865817; 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=OcRx5xHL0LWGjmdOY02B8mLP4REITCUc5mnNEkIjwy0=; b=KAzK+p7yGww/tsEhQxgMesZ1qr+hNSVmMP0ucJqF5hZvusiI3cFV1DEE6t+6vpWDh8wyin MgnrI8w4sAQHIyk4665poCz/rAHpUfuAok9IFsDxbIG+mqgjUUc/LPvULy7eiDW0IkDeyn fPEbYUZe18Zd3v4Wry4GC022u4j68HbHTyk1TwTA0RViMLdW/wn1WpT4ovwqc+ghKHRdic 6CfDQ6zm5AR3AS77mtRVnpUJr0p92C1zHPU5cD++QSZI9NH0miu6kNoJ5LKoGXJl/0bdDI 3v6/tdZo5tRsHzLujGKQm46TbGgi0JOPqjfUHNCuvevEB08m4cKXZ0GadM7IHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736865817; 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=OcRx5xHL0LWGjmdOY02B8mLP4REITCUc5mnNEkIjwy0=; b=TKhsaMPeMx5ld7hTUq1SA93eQI1o2lRLtmHD+i+iChWplio54QrAn3XVyRkW87j5PrehH+ U2E6RUAGX0cBo88hUni406vxCyhx7D250viVvw/hEeu7RkfpR0HlIiXhiupTXwtz1pOnXg nVqIPlF4SzdgdW+VcTlaz4pHEj5su+eA8arTomObODCCGdxW2K8g5DAT1GWed7ZK4Mg9s5 QsxUWlCm0ZPeoE3dNhoFJIdkE5VY1CVws4WbTDaJNW1rQGFcBa9vIyZrB6JJAAhlhlvADy v7jybXMkI1SJKP+2wmLn8k5Y7u6fizFvHYw0H4AzWYaw19OQawfovPWL45jdvw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736865817; a=rsa-sha256; cv=none; b=q05wX48hez5bDLcJcnEJC1/PbMIZPp2/nfJSBZ1B4iDEjEGJE+5JWF7DZOjIXUxG+hMXH9 JKh1VPL/E/eMxZm/zaumM9RVbuV64TF9A/B5YifqcZz/HreH+QkjPK0HYh7/ap9OjnY5VW KpzZ4UXY7J1ELIzdUpK5u4pkBiKVWFdUNrY/7RcKRG92tYYwxL3d/pCbWdEvHtPTvFkXIB iQvpS6eFLdeBMpzu3KrZzcz1EcIGfX1USJJGnerXzupnMVqpcBb3khjGe872Ko8siwya6K ITGSazA+5FzjZ6KzYxE5iZ4b/ga01jg9VA+VuLCXnfOst+FuywD1J3Scz7p6yQ== 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 4YXX1j1sSgz1Kgk; Tue, 14 Jan 2025 14:43:37 +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 50EEhbiN014291; Tue, 14 Jan 2025 14:43:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50EEhbdH014288; Tue, 14 Jan 2025 14:43:37 GMT (envelope-from git) Date: Tue, 14 Jan 2025 14:43:37 GMT Message-Id: <202501141443.50EEhbdH014288@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: e59fdfbf2524 - stable/14 - makefs: Remove dead code in inode_type() List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/stable/14 X-Git-Reftype: branch X-Git-Commit: e59fdfbf2524a320dbe4bcfc8fce30ef1e22f860 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=e59fdfbf2524a320dbe4bcfc8fce30ef1e22f860 commit e59fdfbf2524a320dbe4bcfc8fce30ef1e22f860 Author: Mark Johnston AuthorDate: 2025-01-07 14:30:53 +0000 Commit: Mark Johnston CommitDate: 2025-01-14 14:14:27 +0000 makefs: Remove dead code in inode_type() No functional change intended. MFC after: 1 week (cherry picked from commit 2be86b6cc168615e19350710347b77616c4b7f19) --- 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 56e2d19c6f00..98ddb53f7917 100644 --- a/usr.sbin/makefs/walk.c +++ b/usr.sbin/makefs/walk.c @@ -605,8 +605,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))