xfs
[Top] [All Lists]

[PATCH] delete a warning in function xfs_buf_readahead

To: aelder@xxxxxxx, xfs-masters@xxxxxxxxxxx, dchinner@xxxxxxxxxx, hch@xxxxxx, tj@xxxxxxxxxx, jaxboe@xxxxxxxxxxxx
Subject: [PATCH] delete a warning in function xfs_buf_readahead
From: Pan Weiping <panweiping3@xxxxxxxxx>
Date: Wed, 30 Mar 2011 11:28:06 +0800
Cc: xfs@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, Pan Weiping <panweiping3@xxxxxxxxx>
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=kwouwdN9g7Jci9d4OL4L0g80CFzAdkEY6Xy0FryXlPw=; b=eAZ5MsZ1sXlXoqfHPWPqLAQlUTjtygIQPdFSHuQL6xYai5WCTXKwvZdh+h669tZBIP 3Z5Mnc5G+efkr0rnmCgg9HEYh3WHWcJaPEis6W+bjyZyo7hyOELVCi3UXt3iBLSACbDJ 9oifJOjBH9obsWkuct2yPq0qjs9GtlNZ7vR6Y=
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=sMXx3CbH4wTaPza/SOcZwLHp482hBjd2Oq9Q5UXr8sHK1bQPSVMWlzTrnCr02ETTar tEgT/R7qeveICp+RibL6dG45MgRqR22SgDdgEYdCLh3UaxzBWPaWzJQlPnanisxkfe5m +Wdqcoe2ZtCYxhKqJSdnUItjdpqPJlXgOVmec=
/home/pwp/mysvn/linux/linux-2.6/fs/xfs/linux-2.6/xfs_buf.c: In function
‘xfs_buf_readahead’:
/home/pwp/mysvn/linux/linux-2.6/fs/xfs/linux-2.6/xfs_buf.c:660:27: warning:
unused variable ‘bdi’
Signed-off-by: Pan Weiping <panweiping3@xxxxxxxxx>
---
 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.4

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