lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 6 Apr 2011 13:15:50 -0700 (PDT)
From:	Jiri Kosina <jkosina@...e.cz>
To:	Alex Elder <aelder@....com>, xfs@....sgi.com,
	Dave Chinner <dchinner@...hat.com>
Cc:	linux-kernel@...r.kernel.org
Subject: [PATCH] xfs: remove unused 'bdi' variable in xfs_buf_readahead()

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")

Signed-off-by: Jiri Kosina <jkosina@...e.cz>
---
 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 596bb2c..d917146 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.3.1

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ