Remove unnecessary casts

This commit is contained in:
Kevin Lo 2012-03-04 09:48:58 +00:00
parent dbab732d75
commit c225ad032d

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;