From: namei.unix@gmail.com
To: Alex Elder <aelder@sgi.com>
Cc: "supporter:XFS FILESYSTEM" <xfs-masters@oss.sgi.com>,
Liu Yuan <tailai.ly@taobao.com>,
open list <linux-kernel@vger.kernel.org>,
"open list:XFS FILESYSTEM" <xfs@oss.sgi.com>
Subject: [PATCH] xfs: Remove unused variable ‘bdi’
Date: Fri, 1 Apr 2011 12:27:30 +0800 [thread overview]
Message-ID: <1301632050-12674-1-git-send-email-namei.unix@gmail.com> (raw)
From: Liu Yuan <tailai.ly@taobao.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@taobao.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
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next reply other threads:[~2011-04-01 4:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 4:27 namei.unix [this message]
2011-04-01 7:14 ` [PATCH] xfs: Remove unused variable ‘bdi’ Dave Chinner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1301632050-12674-1-git-send-email-namei.unix@gmail.com \
--to=namei.unix@gmail.com \
--cc=aelder@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tailai.ly@taobao.com \
--cc=xfs-masters@oss.sgi.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox