git: e59fdfbf2524 - stable/14 - makefs: Remove dead code in inode_type()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Jan 2025 14:43:37 UTC
The branch stable/14 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=e59fdfbf2524a320dbe4bcfc8fce30ef1e22f860
commit e59fdfbf2524a320dbe4bcfc8fce30ef1e22f860
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-01-07 14:30:53 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
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))