summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--block/compat_ioctl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/compat_ioctl.c b/block/compat_ioctl.c
index 3098c92402f..3d3e7a46f38 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: