Skip to contentSkip to conversation

xfs:remove a warning in xfs_buf_readahead()

PATCH In review Weiping Pan(潘卫平) 1 participant 1 message Apr 11, 2011 XFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 xfs:remove a warning in xfs_buf_readahead()

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

---
 fs/xfs/linux-2.6/xfs_buf.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
fs/xfs/linux-2.6/xfs_buf.c +0 -2
index 5ea4020..a125b32 100644
@@ -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;
 
Signature · 6 lines
1.7.4

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs