svn commit: r232485 - head/sys/fs/cd9660
Kevin Lo
kevlo at FreeBSD.org
Sun Mar 4 09:48:59 UTC 2012
Author: kevlo
Date: Sun Mar 4 09:48:58 2012
New Revision: 232485
URL: http://svn.freebsd.org/changeset/base/232485
Log:
Remove unnecessary casts
Modified:
head/sys/fs/cd9660/cd9660_vfsops.c
Modified: head/sys/fs/cd9660/cd9660_vfsops.c
==============================================================================
--- head/sys/fs/cd9660/cd9660_vfsops.c Sun Mar 4 09:45:43 2012 (r232484)
+++ head/sys/fs/cd9660/cd9660_vfsops.c Sun Mar 4 09:48:58 2012 (r232485)
@@ -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;
More information about the svn-src-head
mailing list