git: 6d79564fe341 - main - devfs_allocv(): style

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sun, 12 May 2024 01:13:50 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=6d79564fe341c8dbf09405cae1a0a76460aaf8aa

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

    devfs_allocv(): style
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
---
 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 a35f6dbf9520..1ab575ec02bd 100644
--- a/sys/fs/devfs/devfs_vnops.c
+++ b/sys/fs/devfs/devfs_vnops.c
@@ -555,8 +555,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;