zfsctl_common_fid: remove redundant assignment

"Reinterpret cast" to zfid_short_t and assignment of zf_len
do the job already.

MFC after:	1 week
This commit is contained in:
Andriy Gapon 2016-05-18 08:26:09 +00:00
parent e6d4eefe2a
commit a4bbed22d2

View File

@ -404,8 +404,6 @@ zfsctl_common_fid(ap)
ZFS_EXIT(zfsvfs);
return (SET_ERROR(ENOSPC));
}
#else
fidp->fid_len = SHORT_FID_LEN;
#endif
zfid = (zfid_short_t *)fidp;