git: 9ccd5394123b - stable/14 - devfs_allocv(): style

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

URL: https://cgit.FreeBSD.org/src/commit/?id=9ccd5394123bf429b09b4404fa6cb8543b617331

commit 9ccd5394123bf429b09b4404fa6cb8543b617331
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:57:54 +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 cda4afc8c241..9dcf3b235feb 100644
--- a/sys/fs/devfs/devfs_vnops.c
+++ b/sys/fs/devfs/devfs_vnops.c
@@ -557,8 +557,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;