Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jul 2017 21:13:25 +0000 (UTC)
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320819 - head/sys/fs/fdescfs
Message-ID:  <201707082113.v68LDPlh006126@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dchagin
Date: Sat Jul  8 21:13:25 2017
New Revision: 320819
URL: https://svnweb.freebsd.org/changeset/base/320819

Log:
  Eliminate the bogus cast.
  
  MFC after:	3 weeks

Modified:
  head/sys/fs/fdescfs/fdesc_vfsops.c

Modified: head/sys/fs/fdescfs/fdesc_vfsops.c
==============================================================================
--- head/sys/fs/fdescfs/fdesc_vfsops.c	Sat Jul  8 21:12:00 2017	(r320818)
+++ head/sys/fs/fdescfs/fdesc_vfsops.c	Sat Jul  8 21:13:25 2017	(r320819)
@@ -99,7 +99,7 @@ fdesc_mount(struct mount *mp)
 	 * We need to initialize a few bits of our local mount point struct to
 	 * avoid confusion in allocvp.
 	 */
-	mp->mnt_data = (qaddr_t) fmp;
+	mp->mnt_data = fmp;
 	fmp->flags = 0;
 	error = fdesc_allocvp(Froot, -1, FD_ROOT, mp, &rvp);
 	if (error) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707082113.v68LDPlh006126>