ext4: remove unused variable flags
authorLukas Czerner <[email protected]>
Tue, 29 Jan 2013 02:14:11 +0000 (21:14 -0500)
committerTheodore Ts'o <[email protected]>
Tue, 29 Jan 2013 02:14:11 +0000 (21:14 -0500)
Remove unused variable flags from dump_completed_IO(). The code is
only exercised when EXT4FS_DEBUG is defined.

Signed-off-by: Lukas Czerner <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Reviewed-by: Zheng Liu <[email protected]>
fs/ext4/page-io.c

index 0290bf85f97ea497d7ec32ec3ac3a1df224cb7d4..5d8c66948e1b202ba4d198a972a30c70fc05b814 100644 (file)
@@ -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",