diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-09-02 23:19:43 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-10-21 13:47:16 +0200 |
commit | 1bddd9e6453ef1c7bc5b6f4ddbf7d31f4aee7a44 (patch) | |
tree | 6e82be80cf322be4b90a17a763f4932ece700056 /drivers/ide/ide-ioctls.c | |
parent | [PATCH] switch scsi_cmd_ioctl() to passing fmode_t (diff) | |
download | linux-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-ioctls.c')
-rw-r--r-- | drivers/ide/ide-ioctls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-ioctls.c b/drivers/ide/ide-ioctls.c index a90945f49792..fcde16bb53a7 100644 --- a/drivers/ide/ide-ioctls.c +++ b/drivers/ide/ide-ioctls.c @@ -240,8 +240,7 @@ static int generic_drive_reset(ide_drive_t *drive) return ret; } -int generic_ide_ioctl(ide_drive_t *drive, struct file *file, - struct block_device *bdev, +int generic_ide_ioctl(ide_drive_t *drive, struct block_device *bdev, unsigned int cmd, unsigned long arg) { int err; |