X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=block%2Fcompat_ioctl.c;h=3d3e7a46f38c43319a2fcbed71e99a5da9af8e68;hb=5f4f0c4d3fc95cb7d509e4469a22aed40532f0fc;hp=3098c92402fd3b76c240b768d71e6394e85cb01f;hpb=54d822a6169b76b807b8cdbbf76ff2812a88947f;p=linux-2.6-omap-h63xx.git 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: