key is set in affs_fill_super but never used.

Cc: Andrew Morton <a...@linux-foundation.org>
Signed-off-by: Fabian Frederick <f...@skynet.be>
---
 fs/affs/super.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/fs/affs/super.c b/fs/affs/super.c
index 51f1a95..a67dc72 100644
--- a/fs/affs/super.c
+++ b/fs/affs/super.c
@@ -308,7 +308,6 @@ static int affs_fill_super(struct super_block *sb, void 
*data, int silent)
        u32                      chksum;
        int                      num_bm;
        int                      i, j;
-       s32                      key;
        kuid_t                   uid;
        kgid_t                   gid;
        int                      reserved;
@@ -367,7 +366,7 @@ static int affs_fill_super(struct super_block *sb, void 
*data, int silent)
                i = j = blocksize;
                size = size / (blocksize / 512);
        }
-       for (blocksize = i, key = 0; blocksize <= j; blocksize <<= 1, size >>= 
1) {
+       for (blocksize = i; blocksize <= j; blocksize <<= 1, size >>= 1) {
                sbi->s_root_block = root_block;
                if (root_block < 0)
                        sbi->s_root_block = (reserved + size - 1) / 2;
@@ -399,7 +398,6 @@ static int affs_fill_super(struct super_block *sb, void 
*data, int silent)
                            be32_to_cpu(AFFS_ROOT_TAIL(sb, root_bh)->stype) == 
ST_ROOT) {
                                sbi->s_hashsize    = blocksize / 4 - 56;
                                sbi->s_root_block += num_bm;
-                               key                        = 1;
                                goto got_root;
                        }
                        affs_brelse(root_bh);
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to