git: 7c23465541f3 - stable/13 - devfs_allocv(): style

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sun, 19 May 2024 00:59:42 UTC
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=7c23465541f328acab2192c870be31324ce436d9

commit 7c23465541f328acab2192c870be31324ce436d9
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-05-07 12:33:01 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-05-19 00:59:13 +0000

    devfs_allocv(): style
    
    (cherry picked from commit 6d79564fe341c8dbf09405cae1a0a76460aaf8aa)
---
 sys/fs/devfs/devfs_vnops.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c
index 919ab2ff4381..535b2c198e64 100644
--- a/sys/fs/devfs/devfs_vnops.c
+++ b/sys/fs/devfs/devfs_vnops.c
@@ -574,8 +574,7 @@ loop:
 		if (devfs_allocv_drop_refs(0, dmp, de)) {
 			vput(vp);
 			return (ENOENT);
-		}
-		else if (VN_IS_DOOMED(vp)) {
+		} else if (VN_IS_DOOMED(vp)) {
 			mtx_lock(&devfs_de_interlock);
 			if (de->de_vnode == vp) {
 				de->de_vnode = NULL;