ext2fs: Remove unused assignment.

Value is re-assigned a few lines later without being read.

Found by:	Clang static analyzer
MFC after:	1 week
This commit is contained in:
pfg 2017-02-17 20:56:43 +00:00
parent b3e72adf1e
commit eb356d92ec

View File

@ -766,7 +766,6 @@ ext2_htree_add_entry(struct vnode *dvp, struct ext2fs_direct_2 *entry,
root_entires = info.h_levels[0].h_entries;
newidxblock = malloc(blksize, M_TEMP, M_WAITOK | M_ZERO);
dst_node = (struct ext2fs_htree_node *)newidxblock;
dst_entries = dst_node->h_entries;
memset(&dst_node->h_fake_dirent, 0,
sizeof(dst_node->h_fake_dirent));
dst_node->h_fake_dirent.e2d_reclen = blksize;