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/ntfs/ntfs_vfsops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/ntfs/ntfs_vfsops.c') diff --git a/sys/ntfs/ntfs_vfsops.c b/sys/ntfs/ntfs_vfsops.c index bae57b58da8..8666d6de710 100644 --- a/sys/ntfs/ntfs_vfsops.c +++ b/sys/ntfs/ntfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntfs_vfsops.c,v 1.52 2016/06/19 11:54:33 natano Exp $ */ +/* $OpenBSD: ntfs_vfsops.c,v 1.53 2016/08/13 20:53:17 guenther Exp $ */ /* $NetBSD: ntfs_vfsops.c,v 1.7 2003/04/24 07:50:19 christos Exp $ */ /*- @@ -345,7 +345,7 @@ ntfs_mountfs(struct vnode *devvp, struct mount *mp, struct ntfs_args *argsp, ntmp->ntm_gid = argsp->gid; ntmp->ntm_mode = argsp->mode; ntmp->ntm_flag = argsp->flag; - mp->mnt_data = (qaddr_t) ntmp; + mp->mnt_data = ntmp; TAILQ_INIT(&ntmp->ntm_ntnodeq); /* set file name encode/decode hooks XXX utf-8 only for now */ -- cgit v1.2.3