diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-09-02 17:19:43 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-10-21 07:47:16 -0400 |
commit | 1bddd9e6453ef1c7bc5b6f4ddbf7d31f4aee7a44 (patch) | |
tree | 6e82be80cf322be4b90a17a763f4932ece700056 /drivers/ide/ide-cd.c | |
parent | 74f3c8aff36ad6552ea609c8b20bfd588fa16f38 (diff) |
[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, | |||
2174 | break; | 2174 | break; |
2175 | } | 2175 | } |
2176 | 2176 | ||
2177 | err = generic_ide_ioctl(info->drive, file, bdev, cmd, arg); | 2177 | err = generic_ide_ioctl(info->drive, bdev, cmd, arg); |
2178 | if (err == -EINVAL) | 2178 | if (err == -EINVAL) |
2179 | err = cdrom_ioctl(file, &info->devinfo, inode, cmd, arg); | 2179 | err = cdrom_ioctl(file, &info->devinfo, inode, cmd, arg); |
2180 | 2180 | ||