]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/hfsplus/extents.c
fs/hfsplus/extents.c: remove unused variable in hfsplus_get_block
[karo-tx-linux.git] / fs / hfsplus / extents.c
index fbb212fbb1efbfee64443bd3fe5f039fbf28426a..136d860cd74617dbc824ec7761d1d4f0819a1c56 100644 (file)
@@ -227,10 +227,8 @@ int hfsplus_get_block(struct inode *inode, sector_t iblock,
        u32 ablock, dblock, mask;
        sector_t sector;
        int was_dirty = 0;
-       int shift;
 
        /* Convert inode block to disk allocation block */
-       shift = sbi->alloc_blksz_shift - sb->s_blocksize_bits;
        ablock = iblock >> sbi->fs_shift;
 
        if (iblock >= hip->fs_blocks) {