diff options
author | Dave Kleikamp <dave.kleikamp@oracle.com> | 2011-06-20 14:00:27 -0400 |
---|---|---|
committer | Dave Kleikamp <dave.kleikamp@oracle.com> | 2011-07-25 12:01:12 -0400 |
commit | 3c2c22628599006047781946b317a16d9ff3883d (patch) | |
tree | e332dc2127efbfaad4a0a51b26b607113909b2aa /fs/jfs/jfs_dmap.c | |
parent | b6844e8f64920cdee620157252169ba63afb0c89 (diff) |
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/jfs_dmap.c')
-rw-r--r-- | fs/jfs/jfs_dmap.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/jfs/jfs_dmap.c b/fs/jfs/jfs_dmap.c index 4496872cf4e7..9cbd11a3f804 100644 --- a/fs/jfs/jfs_dmap.c +++ b/fs/jfs/jfs_dmap.c | |||
@@ -3161,7 +3161,7 @@ static int dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno, | |||
3161 | { | 3161 | { |
3162 | int rc; | 3162 | int rc; |
3163 | int dbitno, word, rembits, nb, nwords, wbitno, agno; | 3163 | int dbitno, word, rembits, nb, nwords, wbitno, agno; |
3164 | s8 oldroot, *leaf; | 3164 | s8 oldroot; |
3165 | struct dmaptree *tp = (struct dmaptree *) & dp->tree; | 3165 | struct dmaptree *tp = (struct dmaptree *) & dp->tree; |
3166 | 3166 | ||
3167 | /* save the current value of the root (i.e. maximum free string) | 3167 | /* save the current value of the root (i.e. maximum free string) |
@@ -3169,9 +3169,6 @@ static int dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno, | |||
3169 | */ | 3169 | */ |
3170 | oldroot = tp->stree[ROOT]; | 3170 | oldroot = tp->stree[ROOT]; |
3171 | 3171 | ||
3172 | /* pick up a pointer to the leaves of the dmap tree */ | ||
3173 | leaf = tp->stree + LEAFIND; | ||
3174 | |||
3175 | /* determine the bit number and word within the dmap of the | 3172 | /* determine the bit number and word within the dmap of the |
3176 | * starting block. | 3173 | * starting block. |
3177 | */ | 3174 | */ |