summaryrefslogtreecommitdiff
path: root/sys/nfs
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-13 20:53:18 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-13 20:53:18 +0000
commit0ef3143e17e54db043e3dcec6896d463fd413d72 (patch)
tree963b398cbd9e86f2b2bf18c03108ec45fd1d9130 /sys/nfs
parentb6411dc32426828b3c6a9bb93a9b5159ec1c7a66 (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/nfs')
-rw-r--r--sys/nfs/nfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c
index 79eb8726b5a..ce4c66a873e 100644
--- a/sys/nfs/nfs_vfsops.c
+++ b/sys/nfs/nfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_vfsops.c,v 1.109 2016/04/26 18:37:03 natano Exp $ */
+/* $OpenBSD: nfs_vfsops.c,v 1.110 2016/08/13 20:53:17 guenther Exp $ */
/* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */
/*
@@ -623,7 +623,7 @@ mountnfs(struct nfs_args *argp, struct mount *mp, struct mbuf *nam,
} else {
nmp = malloc(sizeof(*nmp), M_NFSMNT,
M_WAITOK|M_ZERO);
- mp->mnt_data = (qaddr_t)nmp;
+ mp->mnt_data = nmp;
}
vfs_getnewfsid(mp);