[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1301632050-12674-1-git-send-email-namei.unix@gmail.com>
Date: Fri, 1 Apr 2011 12:27:30 +0800
From: namei.unix@...il.com
To: Alex Elder <aelder@....com>
Cc: Liu Yuan <tailai.ly@...bao.com>,
xfs-masters@....sgi.com (supporter:XFS FILESYSTEM),
xfs@....sgi.com (open list:XFS FILESYSTEM),
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH] xfs: Remove unused variable ‘bdi’
From: Liu Yuan <tailai.ly@...bao.com>
When building kernel, I met a warning:
...
fs/xfs/linux-2.6/xfs_buf.c:660: warning: unused variable ‘bdi’
...
So just remove it.
Signed-off-by: Liu Yuan <tailai.ly@...bao.com>
---
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.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists