Remove unnecessary casts
This commit is contained in:
parent
dbab732d75
commit
c225ad032d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user