From 0ef3143e17e54db043e3dcec6896d463fd413d72 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Sat, 13 Aug 2016 20:53:18 +0000 Subject: Eliminate pointless casts to qaddr_t of a value being assigned to a void* ok kettenis@ krw@ natano@ dlg@ espie@ --- sys/msdosfs/msdosfs_vfsops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/msdosfs') diff --git a/sys/msdosfs/msdosfs_vfsops.c b/sys/msdosfs/msdosfs_vfsops.c index 01b90342d53..94724f51159 100644 --- a/sys/msdosfs/msdosfs_vfsops.c +++ b/sys/msdosfs/msdosfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msdosfs_vfsops.c,v 1.78 2016/05/22 20:27:04 bluhm Exp $ */ +/* $OpenBSD: msdosfs_vfsops.c,v 1.79 2016/08/13 20:53:17 guenther Exp $ */ /* $NetBSD: msdosfs_vfsops.c,v 1.48 1997/10/18 02:54:57 briggs Exp $ */ /*- @@ -566,7 +566,7 @@ msdosfs_mountfs(struct vnode *devvp, struct mount *mp, struct proc *p, pmp->pm_flags |= MSDOSFSMNT_RONLY; else pmp->pm_fmod = 1; - mp->mnt_data = (qaddr_t)pmp; + mp->mnt_data = pmp; mp->mnt_stat.f_fsid.val[0] = (long)dev; mp->mnt_stat.f_fsid.val[1] = mp->mnt_vfc->vfc_typenum; #ifdef QUOTA -- cgit v1.2.3