diff options
author | Eric Engestrom <eric.engestrom@imgtec.com> | 2016-09-30 08:14:56 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-09-30 08:14:56 +0200 |
commit | 18017479cabaeb5c659d789f04ecf7939f8ee28f (patch) | |
tree | 3fd27cd302e51b1eee96feb8340a85705536526f /fs/ext4/page-io.c | |
parent | ext4: use journal inode to determine journal overhead (diff) | |
download | linux-18017479cabaeb5c659d789f04ecf7939f8ee28f.tar.xz linux-18017479cabaeb5c659d789f04ecf7939f8ee28f.zip |
ext4: remove unused variable
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Diffstat (limited to 'fs/ext4/page-io.c')
-rw-r--r-- | fs/ext4/page-io.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c index a6132a730967..b4cbee936cf8 100644 --- a/fs/ext4/page-io.c +++ b/fs/ext4/page-io.c @@ -405,14 +405,12 @@ int ext4_bio_write_page(struct ext4_io_submit *io, { struct page *data_page = NULL; struct inode *inode = page->mapping->host; - unsigned block_start, blocksize; + unsigned block_start; struct buffer_head *bh, *head; int ret = 0; int nr_submitted = 0; int nr_to_submit = 0; - blocksize = 1 << inode->i_blkbits; - BUG_ON(!PageLocked(page)); BUG_ON(PageWriteback(page)); |