Re: [PATCH 5/5] xfs:removed the unused variable

From: Dave Chinner
Date: Mon Apr 11 2011 - 00:05:55 EST


On Sun, Apr 10, 2011 at 10:10:29PM +0800, wanlong.gao@xxxxxxxxx wrote:
> From: Wanlong Gao <wanlong.gao@xxxxxxxxx>
>
> removed the unused variable "bdi" of xfs_buf.c .
>
> Signed-off-by: Wanlong Gao <wanlong.gao@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;

<sigh>

Doesn't anyone look anymore to see if a problem has already been
reported before or fixed in the maintainers tree?

FYI, you're about the 5th person to send this same patch....

Cheers,

Dave.
--
Dave Chinner
david@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/