Remove useless NULL check.

Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
This commit is contained in:
Konstantin Belousov 2016-10-28 10:57:41 +00:00
parent fb448904d9
commit 8b3c8abc45
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308019

View File

@ -760,8 +760,7 @@ mountmsdosfs(struct vnode *devvp, struct mount *mp)
}
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;
}