diff options
author | kevlo <kevlo@FreeBSD.org> | 2012-03-04 09:48:58 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2012-03-04 09:48:58 +0000 |
commit | 15e0aa0e65527afeabec9261a7d18cf472a1a3f5 (patch) | |
tree | 451476f286eb3d09754d146a87e700e4badf315c /sys/fs/cd9660 | |
parent | 2ef7dea431b36ef9dafb376193efcdc7145f9a40 (diff) | |
download | FreeBSD-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.c | 4 |
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; |