Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2012 09:48:58 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232485 - head/sys/fs/cd9660
Message-ID:  <201203040948.q249mwIp024505@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203040948.q249mwIp024505>