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>] [day] [month] [year] [list]
Date:	Wed, 17 Sep 2008 22:17:43 +0400
From:	Alexander Beregalov <a.beregalov@...il.com>
To:	viro@...iv.linux.org.uk, axboe@...nel.dk,
	linux-kernel@...r.kernel.org
Subject: [PATCH] block: remove unused variables



Signed-off-by: Alexander Beregalov <a.beregalov@...il.com>
---

 block/compat_ioctl.c |    2 --
 block/ioctl.c        |    1 -
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/block/compat_ioctl.c b/block/compat_ioctl.c
index 504344d..ec2060f 100644
--- a/block/compat_ioctl.c
+++ b/block/compat_ioctl.c
@@ -582,8 +582,6 @@ static int compat_blk_trace_setup(struct block_device *bdev, char __user *arg)
 static int compat_blkdev_driver_ioctl(struct block_device *bdev, fmode_t mode,
 			unsigned cmd, unsigned long arg)
 {
-	int ret;
-
 	switch (cmd) {
 	case HDIO_GET_UNMASKINTR:
 	case HDIO_GET_MULTCOUNT:
diff --git a/block/ioctl.c b/block/ioctl.c
index 0db89f9..9e84f36 100644
--- a/block/ioctl.c
+++ b/block/ioctl.c
@@ -268,7 +268,6 @@ static int blkdev_locked_ioctl(struct file *file, struct block_device *bdev,
 int blkdev_driver_ioctl(struct inode *inode, struct file *file,
 			struct gendisk *disk, unsigned cmd, unsigned long arg)
 {
-	int ret;
 	fmode_t mode = 0;
 	if (file) {
 		mode = file->f_mode;
--
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