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-tape.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-tape.c')
-rw-r--r-- | drivers/ide/ide-tape.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index b2b2e5e8d38e..2b263281ffea 100644 --- a/drivers/ide/ide-tape.c +++ b/drivers/ide/ide-tape.c | |||
@@ -2368,7 +2368,7 @@ static int idetape_ioctl(struct inode *inode, struct file *file, | |||
2368 | struct block_device *bdev = inode->i_bdev; | 2368 | struct block_device *bdev = inode->i_bdev; |
2369 | struct ide_tape_obj *tape = ide_drv_g(bdev->bd_disk, ide_tape_obj); | 2369 | struct ide_tape_obj *tape = ide_drv_g(bdev->bd_disk, ide_tape_obj); |
2370 | ide_drive_t *drive = tape->drive; | 2370 | ide_drive_t *drive = tape->drive; |
2371 | int err = generic_ide_ioctl(drive, file, bdev, cmd, arg); | 2371 | int err = generic_ide_ioctl(drive, bdev, cmd, arg); |
2372 | if (err == -EINVAL) | 2372 | if (err == -EINVAL) |
2373 | err = idetape_blkdev_ioctl(drive, cmd, arg); | 2373 | err = idetape_blkdev_ioctl(drive, cmd, arg); |
2374 | return err; | 2374 | return err; |