aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/page-io.c
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2013-01-28 21:14:11 -0500
committerTheodore Ts'o <tytso@mit.edu>2013-01-28 21:14:11 -0500
commitcfa7275482414fa87c9e51dd7b9d4d5d3f7a7fed (patch)
treebb31f133bb660ac084e70184b87b1b18d8f44913 /fs/ext4/page-io.c
parentfe386132f6731d02a45c380be0a3d339e6446cb5 (diff)
ext4: remove unused variable flags
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> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
Diffstat (limited to 'fs/ext4/page-io.c')
-rw-r--r--fs/ext4/page-io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c
index 0290bf85f97e..5d8c66948e1b 100644
--- a/fs/ext4/page-io.c
+++ b/fs/ext4/page-io.c
@@ -118,7 +118,6 @@ static void dump_completed_IO(struct inode *inode)
118#ifdef EXT4FS_DEBUG 118#ifdef EXT4FS_DEBUG
119 struct list_head *cur, *before, *after; 119 struct list_head *cur, *before, *after;
120 ext4_io_end_t *io, *io0, *io1; 120 ext4_io_end_t *io, *io0, *io1;
121 unsigned long flags;
122 121
123 if (list_empty(&EXT4_I(inode)->i_completed_io_list)) { 122 if (list_empty(&EXT4_I(inode)->i_completed_io_list)) {
124 ext4_debug("inode %lu completed_io list is empty\n", 123 ext4_debug("inode %lu completed_io list is empty\n",