[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110524133204.GA11529@nb-core2.darkstar.lan>
Date: Tue, 24 May 2011 15:32:05 +0200
From: Luca Tettamanti <kronos.it@...il.com>
To: linux-kernel@...r.kernel.org
Cc: linux-mm@...ck.org, Christoph Hellwig <hch@....de>
Subject: [PATCH] Delete unused variable no_wb.
The number of writeback threads was removed from the output by c1955ce3.
Signed-off-by: Luca Tettamanti <kronos.it@...il.com>
---
mm/backing-dev.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/backing-dev.c b/mm/backing-dev.c
index befc875..f032e6e 100644
--- a/mm/backing-dev.c
+++ b/mm/backing-dev.c
@@ -63,10 +63,10 @@ static int bdi_debug_stats_show(struct seq_file *m, void *v)
unsigned long background_thresh;
unsigned long dirty_thresh;
unsigned long bdi_thresh;
- unsigned long nr_dirty, nr_io, nr_more_io, nr_wb;
+ unsigned long nr_dirty, nr_io, nr_more_io;
struct inode *inode;
- nr_wb = nr_dirty = nr_io = nr_more_io = 0;
+ nr_dirty = nr_io = nr_more_io = 0;
spin_lock(&inode_wb_list_lock);
list_for_each_entry(inode, &wb->b_dirty, i_wb_list)
nr_dirty++;
--
1.7.5.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists