diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2016-08-13 20:53:18 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2016-08-13 20:53:18 +0000 |
commit | 0ef3143e17e54db043e3dcec6896d463fd413d72 (patch) | |
tree | 963b398cbd9e86f2b2bf18c03108ec45fd1d9130 /sys/msdosfs | |
parent | b6411dc32426828b3c6a9bb93a9b5159ec1c7a66 (diff) |
Eliminate pointless casts to qaddr_t of a value being assigned to a void*
ok kettenis@ krw@ natano@ dlg@ espie@
Diffstat (limited to 'sys/msdosfs')
-rw-r--r-- | sys/msdosfs/msdosfs_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |