xfs
[Top] [All Lists]

[PATCH 2/2] xfs:remove a warning in xfs_buf_readahead()

To: aelder@xxxxxxx, xfs-masters@xxxxxxxxxxx, dchinner@xxxxxxxxxx, hch@xxxxxx, jaxboe@xxxxxxxxxxxx, tj@xxxxxxxxxx, xfs@xxxxxxxxxxx
Subject: [PATCH 2/2] xfs:remove a warning in xfs_buf_readahead()
From: Weiping Pan(潘卫平) <panweiping3@xxxxxxxxx>
Date: Mon, 11 Apr 2011 10:44:53 +0800
Cc: linux-kernel@xxxxxxxxxxxxxxx, Weiping Pan(潘卫平) <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=ZSPWmZJjRIEjV16OggJpBnjmwDzn/G/uHGC2C2obKzw=; b=Hf/W/veXgEQ2MDoO+FWe4uwNKk08yYTVvGLtwjB0hALl4uzyX4fHYC+DWfVJH1jFin RLAhCZNQW9jUizmDpITZrn7qUiAKahsbvUJNAvFajCfU+V5p9uUi/yYMI8yKsRORLKlH EnFsaZa5pYFgXOFov7LC2Hx4VHr4Hshnc72R4=
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=GPoUjygYtRrlvQiDNEngh/HOysnvtimEsWbpIfimcAok1QLZnsFj4IL5F8DSzEnVfF A8BaPG5HI6bm4iFern+f3c03BLQM+AZRDzTON1CimOlFNwHcTZ5Or6lGsRbSAbpdm8z2 7hbxzpze7IbRuLm9dm0nMMZ9Vix9B8whe8DH4=
/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: Weiping Pan(潘卫平) <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 5ea4020..a125b32 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>
  • [PATCH 2/2] xfs:remove a warning in xfs_buf_readahead(), Weiping Pan(æåå) <=