Patchwork [v2] ext4: remove unused variable flags

login
register
mail settings
Submitter Lukas Czerner
Date Jan. 28, 2013, 9:13 a.m.
Message ID <1359364399-4504-1-git-send-email-lczerner@redhat.com>
Download mbox | patch
Permalink /patch/216140/
State Accepted
Headers show

Comments

Lukas Czerner - Jan. 28, 2013, 9:13 a.m.
Remove unused variable flags from dump_completed_IO(). The code is only
exercised when EXT4FS_DEBUG is defined.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
---
v2: no changes

 fs/ext4/page-io.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
Theodore Ts'o - Jan. 29, 2013, 2:14 a.m.
On Mon, Jan 28, 2013 at 10:13:19AM +0100, Lukas Czerner wrote:
> Remove unused variable flags from dump_completed_IO(). The code is only
> exercised when EXT4FS_DEBUG is defined.
> 
> Signed-off-by: Lukas Czerner <lczerner@redhat.com>
> Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>

Thanks, applied.

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c
index 0016fbc..3331a76 100644
--- a/fs/ext4/page-io.c
+++ b/fs/ext4/page-io.c
@@ -119,7 +119,6 @@  static void dump_completed_IO(struct inode *inode)
 #ifdef	EXT4FS_DEBUG
 	struct list_head *cur, *before, *after;
 	ext4_io_end_t *io, *io0, *io1;
-	unsigned long flags;
 
 	if (list_empty(&EXT4_I(inode)->i_completed_io_list)) {
 		ext4_debug("inode %lu completed_io list is empty\n",