Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1487492 > unrolled thread

[PATCH 2/2] ext4: remove unused variable

Started byEric Engestrom <eric.engestrom@imgtec.com>
First post2016-09-20 18:20 +0200
Last post2016-09-20 18:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/2] ext4: remove unused variable Eric Engestrom <eric.engestrom@imgtec.com> - 2016-09-20 18:20 +0200

#1487492 — [PATCH 2/2] ext4: remove unused variable

FromEric Engestrom <eric.engestrom@imgtec.com>
Date2016-09-20 18:20 +0200
Subject[PATCH 2/2] ext4: remove unused variable
Message-ID<sjvW1-5lT-9@gated-at.bofh.it>
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
---
 fs/ext4/page-io.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c
index a6132a7..b4cbee9 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));
 
-- 
Cheers,
  Eric

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web