git: 2be86b6cc168 - main - makefs: Remove dead code in inode_type()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Jan 2025 14:32:30 UTC
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))