Remove unnecessary casts

This commit is contained in:
Kevin Lo 2012-03-04 09:48:58 +00:00
parent dbab732d75
commit c225ad032d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232485

View File

@ -484,7 +484,7 @@ iso_mountfs(devvp, mp)
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;