[Top] [All Lists]

[PATCH] xfs: remove unused 'bdi' variable in xfs_buf_readahead()

To: Alex Elder <aelder@xxxxxxx>, xfs@xxxxxxxxxxx, Dave Chinner <dchinner@xxxxxxxxxx>
Subject: [PATCH] xfs: remove unused 'bdi' variable in xfs_buf_readahead()
From: Jiri Kosina <jkosina@xxxxxxx>
Date: Wed, 6 Apr 2011 13:15:50 -0700 (PDT)
Cc: linux-kernel@xxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)
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@xxxxxxx>
 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))

<Prev in Thread] Current Thread [Next in Thread>