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>
Цей коміт міститься в:
Dave Kleikamp
2011-06-20 13:00:27 -05:00
джерело b6844e8f64
коміт 3c2c226285
3 змінених файлів з 4 додано та 10 видалено

Переглянути файл

@@ -3161,7 +3161,7 @@ static int dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno,
{
int rc;
int dbitno, word, rembits, nb, nwords, wbitno, agno;
s8 oldroot, *leaf;
s8 oldroot;
struct dmaptree *tp = (struct dmaptree *) & dp->tree;
/* 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,
*/
oldroot = tp->stree[ROOT];
/* pick up a pointer to the leaves of the dmap tree */
leaf = tp->stree + LEAFIND;
/* determine the bit number and word within the dmap of the
* starting block.
*/