summaryrefslogtreecommitdiff
path: root/sys/isofs/udf
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/isofs/udf
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/isofs/udf')
-rw-r--r--sys/isofs/udf/udf_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isofs/udf/udf_vfsops.c b/sys/isofs/udf/udf_vfsops.c
index d776a67a5b5..7bd25d816a1 100644
--- a/sys/isofs/udf/udf_vfsops.c
+++ b/sys/isofs/udf/udf_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udf_vfsops.c,v 1.52 2016/06/19 11:54:33 natano Exp $ */
+/* $OpenBSD: udf_vfsops.c,v 1.53 2016/08/13 20:53:17 guenther Exp $ */
/*
* Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org>
@@ -261,7 +261,7 @@ udf_mountfs(struct vnode *devvp, struct mount *mp, uint32_t lb, struct proc *p)
ump = malloc(sizeof(*ump), M_UDFMOUNT, M_WAITOK | M_ZERO);
- mp->mnt_data = (qaddr_t) ump;
+ mp->mnt_data = ump;
mp->mnt_stat.f_fsid.val[0] = devvp->v_rdev;
mp->mnt_stat.f_fsid.val[1] = mp->mnt_vfc->vfc_typenum;
mp->mnt_stat.f_namemax = NAME_MAX;