summaryrefslogtreecommitdiffstats
path: root/sys/fs/cd9660
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-03-04 09:48:58 +0000
committerkevlo <kevlo@FreeBSD.org>2012-03-04 09:48:58 +0000
commit15e0aa0e65527afeabec9261a7d18cf472a1a3f5 (patch)
tree451476f286eb3d09754d146a87e700e4badf315c /sys/fs/cd9660
parent2ef7dea431b36ef9dafb376193efcdc7145f9a40 (diff)
downloadFreeBSD-src-15e0aa0e65527afeabec9261a7d18cf472a1a3f5.zip
FreeBSD-src-15e0aa0e65527afeabec9261a7d18cf472a1a3f5.tar.gz
Remove unnecessary casts
Diffstat (limited to 'sys/fs/cd9660')
-rw-r--r--sys/fs/cd9660/cd9660_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c
index 138871d..737bf26 100644
--- a/sys/fs/cd9660/cd9660_vfsops.c
+++ b/sys/fs/cd9660/cd9660_vfsops.c
@@ -484,7 +484,7 @@ out:
PICKUP_GIANT();
}
if (isomp) {
- free((caddr_t)isomp, M_ISOFSMNT);
+ free(isomp, M_ISOFSMNT);
mp->mnt_data = NULL;
}
dev_rel(dev);
@@ -522,7 +522,7 @@ cd9660_unmount(mp, mntflags)
PICKUP_GIANT();
vrele(isomp->im_devvp);
dev_rel(isomp->im_dev);
- free((caddr_t)isomp, M_ISOFSMNT);
+ free(isomp, M_ISOFSMNT);
mp->mnt_data = NULL;
MNT_ILOCK(mp);
mp->mnt_flag &= ~MNT_LOCAL;
OpenPOWER on IntegriCloud