diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-09-03 01:19:43 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-10-21 15:47:16 +0400 |
commit | 1bddd9e6453ef1c7bc5b6f4ddbf7d31f4aee7a44 (patch) | |
tree | 6e82be80cf322be4b90a17a763f4932ece700056 /drivers/ide/ide-cd.c | |
parent | 74f3c8aff36ad6552ea609c8b20bfd588fa16f38 (diff) | |
download | linux-1bddd9e6453ef1c7bc5b6f4ddbf7d31f4aee7a44.tar.xz |
[PATCH] lose the unused file argument in generic_ide_ioctl()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/ide/ide-cd.c')
-rw-r--r-- | drivers/ide/ide-cd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index 13265a8827da..cd21b34fe509 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c @@ -2174,7 +2174,7 @@ static int idecd_ioctl(struct inode *inode, struct file *file, break; } - err = generic_ide_ioctl(info->drive, file, bdev, cmd, arg); + err = generic_ide_ioctl(info->drive, bdev, cmd, arg); if (err == -EINVAL) err = cdrom_ioctl(file, &info->devinfo, inode, cmd, arg); |