xfs
[Top] [All Lists]

Re: [PATCH] xfs: remove unused 'bdi' variable in xfs_buf_readahead()

To: Jiri Kosina <jkosina@xxxxxxx>
Subject: Re: [PATCH] xfs: remove unused 'bdi' variable in xfs_buf_readahead()
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Thu, 7 Apr 2011 08:26:24 +1000
Cc: Alex Elder <aelder@xxxxxxx>, xfs@xxxxxxxxxxx, Dave Chinner <dchinner@xxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <alpine.LNX.2.00.1104061311450.5855@xxxxxxxxxxxxx>
References: <alpine.LNX.2.00.1104061311450.5855@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
On Wed, Apr 06, 2011 at 01:15:50PM -0700, Jiri Kosina wrote:
> Gets rid of 
> 
>       fs/xfs/linux-2.6/xfs_buf.c: In function ‘xfs_buf_readahead’:
>       fs/xfs/linux-2.6/xfs_buf.c:660: warning: unused variable ‘bdi’
> 
> The variable has been unused since 0e6e847ffe ("xfs: stop using the page 
> cache to back the buffer cache")

There's already a patch in the XFS tree for this.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

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