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/isofs/udf/udf_vfsops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/isofs/udf') 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 @@ -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; -- cgit v1.2.3