git: a79bb016d9cf - stable/14 - nullfs_mount(): remove unneeded cast

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Thu, 14 Mar 2024 00:45:59 UTC
The branch stable/14 has been updated by kib:

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

commit a79bb016d9cf261a4afa0f6fe1a0c8d3ce43f298
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-03-08 18:37:43 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-03-13 00:30:41 +0000

    nullfs_mount(): remove unneeded cast
    
    (cherry picked from commit 0724293331e4c35c0a8cc5b8922a153545725c24)
---
 sys/fs/nullfs/null_vfsops.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c
index 9d4a9588fed9..dde69d444923 100644
--- a/sys/fs/nullfs/null_vfsops.c
+++ b/sys/fs/nullfs/null_vfsops.c
@@ -174,8 +174,8 @@ nullfs_mount(struct mount *mp)
 		return (EINVAL);
 	}
 
-	xmp = (struct null_mount *) malloc(sizeof(struct null_mount),
-	    M_NULLFSMNT, M_WAITOK | M_ZERO);
+	xmp = malloc(sizeof(struct null_mount), M_NULLFSMNT,
+	    M_WAITOK | M_ZERO);
 
 	/*
 	 * Save pointer to underlying FS and the reference to the