Skip to content

Commit

Permalink
compat_blkdev_driver_ioctl: Remove unused variable warning
Browse files Browse the repository at this point in the history
Variable 'ret' is no longer used. Don't declare it.

Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
torvalds committed Oct 23, 2008
1 parent 54d822a commit 5f4f0c4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions block/compat_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5f4f0c4

Please sign in to comment.