cd9660: Drop an unnecessary check for NULL.

This was unnecessary and also confused Coverity.

Confirmed on:	NetBSD
CID:		978558
This commit is contained in:
Pedro F. Giffuni 2016-02-07 03:48:40 +00:00
parent 0ae08af46a
commit 062b0cc0e6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295362

View File

@ -741,8 +741,7 @@ cd9660_vget_internal(mp, ino, flags, vpp, relocated, isodir)
if (off + isonum_711(isodir->length) >
imp->logical_block_size) {
vput(vp);
if (bp != 0)
brelse(bp);
brelse(bp);
printf("fhtovp: directory crosses block boundary %d[off=%d/len=%d]\n",
off +isonum_711(isodir->length), off,
isonum_711(isodir->length));