| 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))
return;
--
1.7.3.1
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 7/9] xfs: push the AIL from memory reclaim and periodic sync, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH] xfs: remove unused 'bdi' variable in xfs_buf_readahead(), Dave Chinner |
| Previous by Thread: | SL's kickstart corrupting XFS by "repairing" GPT labels?, Jan KundrÃt |
| Next by Thread: | Re: [PATCH] xfs: remove unused 'bdi' variable in xfs_buf_readahead(), Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |