| To: | Alex Elder <aelder@xxxxxxx> |
|---|---|
| Subject: | [PATCH] xfs: Remove unused variable ‘bdi’ |
| From: | namei.unix@xxxxxxxxx |
| Date: | Fri, 1 Apr 2011 12:27:30 +0800 |
| Cc: | Liu Yuan <tailai.ly@xxxxxxxxxx>, xfs-masters@xxxxxxxxxxx (supporter:XFS FILESYSTEM), xfs@xxxxxxxxxxx (open list:XFS FILESYSTEM), linux-kernel@xxxxxxxxxxxxxxx (open list) |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :mime-version:content-type:content-transfer-encoding; bh=gLyg94dxJRuuS1bAqAQk5SQJEYWz+5k6swhVuxzTkKc=; b=c+P7kZecm1iy3VSp7Iqo4K0rdbYzTfxm/SKyXnee050+qi8BBy/vO45g6eTwcL0tC3 p3Xqf2I0+1SWspfOISAUyN8UGc+0h8qxEhY0WI+RAp2Dk16JpH243EMuFLTMv3y9pKiX 1fyc93SARTr5Ex7O0dRMx0JfmBaVJB0x2kL10= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; b=upan5xjwe8iNtX99w/4aSNEGusStjinawaHKPdWFKkSQy6X6XDjqO61rGcQ28w8JMh kpjO86K85tyPYsus6XVOPDxYiKhR0zTa9Gj4kOMomD8SvJcNmt84JwbXrnmWlgAPcR3T h6g3hL+VVcjAbfFQZTe4noOUauva+gylJ18i0= |
From: Liu Yuan <tailai.ly@xxxxxxxxxx>
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@xxxxxxxxxx>
---
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Bug 32342] kernel 2.6.38 for 686 hangs with XFS, bugzilla-daemon |
|---|---|
| Previous by Thread: | [Bug 32342] New: kernel 2.6.38 for 686 hangs with XFS, bugzilla-daemon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |