]> git.neil.brown.name Git - history.git/commitdiff
[XFS] more dead code removal
authorChristoph Hellwig <hch@sgi.com>
Wed, 6 Nov 2002 22:05:11 +0000 (23:05 +0100)
committerNathan Scott <nathans@sgi.com>
Wed, 6 Nov 2002 22:05:11 +0000 (23:05 +0100)
SGI Modid: 2.5.x-xfs:slinx:131386a

fs/xfs/xfs_vfsops.c

index 922f08f7182a051bb5958e48718680f791c61b16..c91bd34051b9c9558d719f1799948f3859252bc5 100644 (file)
@@ -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;
 }