public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfs: remove unused 'bdi' variable in xfs_buf_readahead()
@ 2011-04-06 20:15 Jiri Kosina
  2011-04-06 22:26 ` Dave Chinner
  0 siblings, 1 reply; 2+ messages in thread
From: Jiri Kosina @ 2011-04-06 20:15 UTC (permalink / raw)
  To: Alex Elder, xfs, Dave Chinner; +Cc: linux-kernel

Gets rid of 

	fs/xfs/linux-2.6/xfs_buf.c: In function ‘xfs_buf_readahead’:
	fs/xfs/linux-2.6/xfs_buf.c:660: warning: unused variable ‘bdi’

The variable has been unused since 0e6e847ffe ("xfs: stop using the page 
cache to back the buffer cache")

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
---
 fs/xfs/linux-2.6/xfs_buf.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c
index 596bb2c..d917146 100644
--- a/fs/xfs/linux-2.6/xfs_buf.c
+++ b/fs/xfs/linux-2.6/xfs_buf.c
@@ -657,8 +657,6 @@ xfs_buf_readahead(
 	xfs_off_t		ioff,
 	size_t			isize)
 {
-	struct backing_dev_info *bdi;
-
 	if (bdi_read_congested(target->bt_bdi))
 		return;
 
-- 
1.7.3.1

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-06 22:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-06 20:15 [PATCH] xfs: remove unused 'bdi' variable in xfs_buf_readahead() Jiri Kosina
2011-04-06 22:26 ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox