summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-disk_ioctl.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-09-02 23:19:43 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2008-10-21 13:47:16 +0200
commit1bddd9e6453ef1c7bc5b6f4ddbf7d31f4aee7a44 (patch)
tree6e82be80cf322be4b90a17a763f4932ece700056 /drivers/ide/ide-disk_ioctl.c
parent[PATCH] switch scsi_cmd_ioctl() to passing fmode_t (diff)
downloadlinux-1bddd9e6453ef1c7bc5b6f4ddbf7d31f4aee7a44.tar.xz
linux-1bddd9e6453ef1c7bc5b6f4ddbf7d31f4aee7a44.zip
[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-disk_ioctl.c')
-rw-r--r--drivers/ide/ide-disk_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-disk_ioctl.c b/drivers/ide/ide-disk_ioctl.c
index a49698bcf966..41832af400d6 100644
--- a/drivers/ide/ide-disk_ioctl.c
+++ b/drivers/ide/ide-disk_ioctl.c
@@ -23,5 +23,5 @@ int ide_disk_ioctl(ide_drive_t *drive, struct inode *inode, struct file *file,
if (err != -EOPNOTSUPP)
return err;
- return generic_ide_ioctl(drive, file, bdev, cmd, arg);
+ return generic_ide_ioctl(drive, bdev, cmd, arg);
}