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

Dave Chinner david at fromorbit.com
Wed Apr 6 17:26:24 CDT 2011


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 at fromorbit.com




More information about the xfs mailing list