summaryrefslogtreecommitdiffstats
path: root/fs/jfs/namei.c
diff options
context:
space:
mode:
authorDave Kleikamp <dave.kleikamp@oracle.com>2011-06-20 13:00:27 -0500
committerDave Kleikamp <dave.kleikamp@oracle.com>2011-07-25 11:01:12 -0500
commit3c2c22628599006047781946b317a16d9ff3883d (patch)
treee332dc2127efbfaad4a0a51b26b607113909b2aa /fs/jfs/namei.c
parentb6844e8f64920cdee620157252169ba63afb0c89 (diff)
downloadop-kernel-dev-3c2c22628599006047781946b317a16d9ff3883d.zip
op-kernel-dev-3c2c22628599006047781946b317a16d9ff3883d.tar.gz
jfs: clean up some compiler warnings
jfs has a few variables being set but never used. Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'fs/jfs/namei.c')
-rw-r--r--fs/jfs/namei.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/jfs/namei.c b/fs/jfs/namei.c
index 03787ef..45e5c6f 100644
--- a/fs/jfs/namei.c
+++ b/fs/jfs/namei.c
@@ -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 */
OpenPOWER on IntegriCloud