Date: Tue, 7 Jan 2025 14:32:30 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 2be86b6cc168 - main - makefs: Remove dead code in inode_type() Message-ID: <202501071432.507EWULc015524@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=2be86b6cc168615e19350710347b77616c4b7f19 commit 2be86b6cc168615e19350710347b77616c4b7f19 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2025-01-07 14:30:53 +0000 Commit: Mark Johnston <markj@FreeBSD.org> 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))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501071432.507EWULc015524>