Date: Fri, 11 Nov 2016 19:26:41 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r308539 - stable/11/sys/fs/msdosfs Message-ID: <201611111926.uABJQfXT095911@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Fri Nov 11 19:26:41 2016 New Revision: 308539 URL: https://svnweb.freebsd.org/changeset/base/308539 Log: MFC r308019: Remove useless NULL check. Modified: stable/11/sys/fs/msdosfs/msdosfs_vfsops.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/fs/msdosfs/msdosfs_vfsops.c ============================================================================== --- stable/11/sys/fs/msdosfs/msdosfs_vfsops.c Fri Nov 11 18:57:41 2016 (r308538) +++ stable/11/sys/fs/msdosfs/msdosfs_vfsops.c Fri Nov 11 19:26:41 2016 (r308539) @@ -760,8 +760,7 @@ error_exit: } if (pmp) { lockdestroy(&pmp->pm_fatlock); - if (pmp->pm_inusemap) - free(pmp->pm_inusemap, M_MSDOSFSFAT); + free(pmp->pm_inusemap, M_MSDOSFSFAT); free(pmp, M_MSDOSFSMNT); mp->mnt_data = NULL; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611111926.uABJQfXT095911>