Commit 11baffb8 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Nathan Scott

[XFS] more dead code removal

SGI Modid: 2.5.x-xfs:slinx:131386a
parent fe768403
......@@ -1552,10 +1552,8 @@ xfs_vget(
xfs_ino_t ino;
unsigned int igen;
xfs_mount_t *mp;
struct inode *inode = NULL;
xfid = (struct xfs_fid *)fidp;
if (xfid->xfs_fid_len == sizeof(*xfid) - sizeof(xfid->xfs_fid_len)) {
ino = xfid->xfs_fid_ino;
igen = xfid->xfs_fid_gen;
......@@ -1585,9 +1583,7 @@ xfs_vget(
}
*vpp = XFS_ITOV(ip);
inode = LINVFS_GET_IP((*vpp));
xfs_iunlock(ip, XFS_ILOCK_SHARED);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment