Commit 345227d705f2318e9bc088e79fe71a38bb5fe82b
Committed by
Jens Axboe
1 parent
771949d03b
Exists in
master
and in
20 other branches
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>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
mm/backing-dev.c
... | ... | @@ -63,10 +63,10 @@ |
63 | 63 | unsigned long background_thresh; |
64 | 64 | unsigned long dirty_thresh; |
65 | 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 | 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 | 70 | spin_lock(&inode_wb_list_lock); |
71 | 71 | list_for_each_entry(inode, &wb->b_dirty, i_wb_list) |
72 | 72 | nr_dirty++; |