From owner-svn-src-head@FreeBSD.ORG Sun Mar 4 09:48:58 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F11DF106566B; Sun, 4 Mar 2012 09:48:58 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id CF7EB8FC08; Sun, 4 Mar 2012 09:48:58 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q249mweg024507; Sun, 4 Mar 2012 09:48:58 GMT (envelope-from kevlo@svn.freebsd.org) Received: (from kevlo@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q249mwIp024505; Sun, 4 Mar 2012 09:48:58 GMT (envelope-from kevlo@svn.freebsd.org) Message-Id: <201203040948.q249mwIp024505@svn.freebsd.org> From: Kevin Lo Date: Sun, 4 Mar 2012 09:48:58 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r232485 - head/sys/fs/cd9660 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 09:48:59 -0000 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;