From: Alexander Beregalov <a.beregalov@gmail.com>
To: viro@zeniv.linux.org.uk, axboe@kernel.dk, linux-kernel@vger.kernel.org
Subject: [PATCH] block: remove unused variables
Date: Wed, 17 Sep 2008 22:17:43 +0400 [thread overview]
Message-ID: <20080917181743.GC29966@orion> (raw)
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.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;
reply other threads:[~2008-09-17 18:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080917181743.GC29966@orion \
--to=a.beregalov@gmail.com \
--cc=axboe@kernel.dk \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox