Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ext4: remove unused variable from ext4_ext_in_cache()

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Reviewed-by: Zheng Liu <gnehzuil.liu@gmail.com>

authored by

Zhi Yong Wu and committed by
Theodore Ts'o
187fd030 6b280c91

-2
-2
fs/ext4/extents.c
··· 2194 2194 struct ext4_extent *ex) 2195 2195 { 2196 2196 struct ext4_ext_cache *cex; 2197 - struct ext4_sb_info *sbi; 2198 2197 int ret = 0; 2199 2198 2200 2199 /* ··· 2201 2202 */ 2202 2203 spin_lock(&EXT4_I(inode)->i_block_reservation_lock); 2203 2204 cex = &EXT4_I(inode)->i_cached_extent; 2204 - sbi = EXT4_SB(inode->i_sb); 2205 2205 2206 2206 /* has cache valid data? */ 2207 2207 if (cex->ec_len == 0)