diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2012-03-04 09:48:58 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2012-03-04 09:48:58 +0000 |
commit | c225ad032d3094dcf1cb5821526ca159429d9b03 (patch) | |
tree | 451476f286eb3d09754d146a87e700e4badf315c /sys/fs/cd9660 | |
parent | dbab732d7562fc510ec64e54b5375b718d8d580f (diff) | |
download | src-c225ad032d3094dcf1cb5821526ca159429d9b03.tar.gz src-c225ad032d3094dcf1cb5821526ca159429d9b03.zip |
Remove unnecessary casts
Notes
Notes:
svn path=/head/; revision=232485
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 138871d40468..737bf2613991 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; |