Skip to content

Commit

Permalink
backing-dev: Kill set but not used var in bdi_debug_stats_show()
Browse files Browse the repository at this point in the history
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
  • Loading branch information
Gustavo F. Padovan authored and Jens Axboe committed May 20, 2011
1 parent 771949d commit 345227d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mm/backing-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand Down

0 comments on commit 345227d

Please sign in to comment.