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-ioctls.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-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; |