summaryrefslogtreecommitdiffstats
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 0290bf85f97..5d8c66948e1 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)
#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",