Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6
[firefly-linux-kernel-4.4.55.git] / fs / jfs / namei.c
index 29b1f1a21142d773d9fe0ec783745cc82cd2a21b..e17545e15664d77cf5d3af35c2c34c99123b929d 100644 (file)
@@ -893,7 +893,7 @@ static int jfs_symlink(struct inode *dip, struct dentry *dentry,
        unchar *i_fastsymlink;
        s64 xlen = 0;
        int bmask = 0, xsize;
-       s64 extent = 0, xaddr;
+       s64 xaddr;
        struct metapage *mp;
        struct super_block *sb;
        struct tblock *tblk;
@@ -993,7 +993,6 @@ static int jfs_symlink(struct inode *dip, struct dentry *dentry,
                        txAbort(tid, 0);
                        goto out3;
                }
-               extent = xaddr;
                ip->i_size = ssize - 1;
                while (ssize) {
                        /* This is kind of silly since PATH_MAX == 4K */