Date: Fri, 8 Mar 2024 18:44:51 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 0724293331e4 - main - nullfs_mount(): remove unneeded cast Message-ID: <202403081844.428IipOt025171@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=0724293331e4c35c0a8cc5b8922a153545725c24 commit 0724293331e4c35c0a8cc5b8922a153545725c24 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-03-08 18:37:43 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-03-08 18:44:21 +0000 nullfs_mount(): remove unneeded cast Sponsored by: The FreeBSD Foundation MFC after: 1 week --- 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 04a3817a828d..7ee6ce53fbde 100644 --- a/sys/fs/nullfs/null_vfsops.c +++ b/sys/fs/nullfs/null_vfsops.c @@ -170,8 +170,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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403081844.428IipOt025171>