提交 5f4f0c4d 编写于 作者: L Linus Torvalds

compat_blkdev_driver_ioctl: Remove unused variable warning

Variable 'ret' is no longer used. Don't declare it.
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 54d822a6
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册