diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-05-20 15:23:37 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-05-20 15:23:37 -0400 |
commit | 345227d705f2318e9bc088e79fe71a38bb5fe82b (patch) | |
tree | 63db4303b1d077d244d492d430da3d6f0c51a5fc | |
parent | 771949d03b4f5295f648f09141325fd478f6c7ce (diff) |
backing-dev: Kill set but not used var in bdi_debug_stats_show()
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
-rw-r--r-- | 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 befc87531e4f..f032e6e1e09a 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) | |||
63 | unsigned long background_thresh; | 63 | unsigned long background_thresh; |
64 | unsigned long dirty_thresh; | 64 | unsigned long dirty_thresh; |
65 | unsigned long bdi_thresh; | 65 | unsigned long bdi_thresh; |
66 | unsigned long nr_dirty, nr_io, nr_more_io, nr_wb; | 66 | unsigned long nr_dirty, nr_io, nr_more_io; |
67 | struct inode *inode; | 67 | struct inode *inode; |
68 | 68 | ||
69 | nr_wb = nr_dirty = nr_io = nr_more_io = 0; | 69 | nr_dirty = nr_io = nr_more_io = 0; |
70 | spin_lock(&inode_wb_list_lock); | 70 | spin_lock(&inode_wb_list_lock); |
71 | list_for_each_entry(inode, &wb->b_dirty, i_wb_list) | 71 | list_for_each_entry(inode, &wb->b_dirty, i_wb_list) |
72 | nr_dirty++; | 72 | nr_dirty++; |