xfs: fix unreferenced var error in xfs_buf.c
authorDave Chinner <dchinner@redhat.com>
Tue, 29 Mar 2011 07:09:20 +0000 (07:09 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 31 Mar 2011 04:34:20 +0000 (23:34 -0500)
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_buf.c

index 596bb2c..d917146 100644 (file)
@@ -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;