From nobody Fri Mar 08 18:44:51 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Trw834nGdz5DcjH; Fri, 8 Mar 2024 18:44:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Trw83451lz51YC; Fri, 8 Mar 2024 18:44:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709923491; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=toVWAeFGE6hjDKOhJa+hByhV3bfiT4/YgbReve/9PWE=; b=RVVCR7CLKz8bMw9WPLNlnvZQS16asrjl0SiWzLj42QAG7dDhMSSK+8Db0BrHlUk519hDpy PQ3zXD+lsbeCE6ndKO7GdF78Gj8okp1PTGwL07KDiLYM80+KdEiAyEFTOexf1BPwwnI4L7 gF5QzAzg65vKsheHqBYZ97Eufzt8eYlYTPO+5/FwEMC41ado6tXkLzRjMtutg0zHe/Dq5y VZYw9Ae41lQ3Esry2ay96hNPLCDO0POg9uQ3c6c1Q5uwmK8Rm/JIgPnGTqaAqxfhA/mavp T6Ea3D+EZJIy2VGZSylvw7U7frLA14gy2ZJUZ0n2XXTpfDxVdc2tZgsmNiTn/w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709923491; a=rsa-sha256; cv=none; b=VSfRvMhMR3dE2gWb3aiKmHRFWbZEOnjuGTQ7W2YQnwTZHk6OvLqpxCvDu5s2QMWw5XPhIU kCfR+23LfKWxjrltawOt7S7tAsXR9wuEHopoFTcLcMLxF0vqlBOjwGS2G2CaeaBFFiNb4z 8ZVYozEombtO7N90/XesB6AshwDWv5RFkg/MjHNGdC5pG1EZJ9H6QOcqZgC+Y5Cn1VKiTQ Xi5ZbfEMVnPRrX110TEc5VSm+gMWAcuAd80EbfPLR+stkj4qpcFpyChyMZpy32KvKk2uE9 zRjB24EzyetwMCGSv1o7bhTXhKFGu0mkZ9AI8AaS6guTM4GJVKrUqDyrMKg1Hg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709923491; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=toVWAeFGE6hjDKOhJa+hByhV3bfiT4/YgbReve/9PWE=; b=lWD/r0++zoDI0/X6GRwyuP+rjgxlFeKht0sMRP+WvhcE1+wPAvbHqh/MrK1IFGq9Zj0U7D 9q32GZn6DzfcHfsCBDJRiBo9cxLBDj8Ai0RKryldkiozqWunMR/Y0zCu1kiFGckl+yktFT IZL7LjDNpvNYjr9zJxHNtBZNGIQM0x38Xh1t7t2klrMvzAVhSm+ciIdyWIVcetN02gr1+B HYkxLMf8MpfQXnvBBioBiPLyeLtST6d6SC1Mo4ub+uAmDKUAGnQviZL3q6oVT8/fno6LIm 5c8mdnzHfnrh8ltcS4vBppMEM0kjgcfZUZ9jqXjvt+ve6/ogCc6DT81vNVXVSg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Trw833jMMzVdY; Fri, 8 Mar 2024 18:44:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 428IipxZ025174; Fri, 8 Mar 2024 18:44:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 428IipOt025171; Fri, 8 Mar 2024 18:44:51 GMT (envelope-from git) Date: Fri, 8 Mar 2024 18:44:51 GMT Message-Id: <202403081844.428IipOt025171@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 0724293331e4 - main - nullfs_mount(): remove unneeded cast List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0724293331e4c35c0a8cc5b8922a153545725c24 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=0724293331e4c35c0a8cc5b8922a153545725c24 commit 0724293331e4c35c0a8cc5b8922a153545725c24 Author: Konstantin Belousov AuthorDate: 2024-03-08 18:37:43 +0000 Commit: Konstantin Belousov 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