diff options
author | Eric Engestrom <eric.engestrom@imgtec.com> | 2016-09-30 02:14:56 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-09-30 02:14:56 -0400 |
commit | 18017479cabaeb5c659d789f04ecf7939f8ee28f (patch) | |
tree | 3fd27cd302e51b1eee96feb8340a85705536526f /fs/ext4/dir.c | |
parent | 3c816ded78bbd645d61ee36f461deb8376d3723a (diff) | |
download | op-kernel-dev-18017479cabaeb5c659d789f04ecf7939f8ee28f.zip op-kernel-dev-18017479cabaeb5c659d789f04ecf7939f8ee28f.tar.gz |
ext4: remove unused variable
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Diffstat (limited to 'fs/ext4/dir.c')
-rw-r--r-- | fs/ext4/dir.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c index 4d4b910..e8b3650 100644 --- a/fs/ext4/dir.c +++ b/fs/ext4/dir.c @@ -628,7 +628,7 @@ int ext4_check_all_de(struct inode *dir, struct buffer_head *bh, void *buf, int buf_size) { struct ext4_dir_entry_2 *de; - int nlen, rlen; + int rlen; unsigned int offset = 0; char *top; @@ -638,7 +638,6 @@ int ext4_check_all_de(struct inode *dir, struct buffer_head *bh, void *buf, if (ext4_check_dir_entry(dir, NULL, de, bh, buf, buf_size, offset)) return -EFSCORRUPTED; - nlen = EXT4_DIR_REC_LEN(de->name_len); rlen = ext4_rec_len_from_disk(de->rec_len, buf_size); de = (struct ext4_dir_entry_2 *)((char *)de + rlen); offset += rlen; |