diff options
author | Jens Axboe <axboe@kernel.dk> | 2011-09-27 23:19:53 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2011-11-05 03:35:10 -0400 |
commit | ef0f1587343a4c17b9b0d9061546e36c1c1bb2ec (patch) | |
tree | 3acd32766e0e255693b006555e9ff21845b24324 /drivers/block/mtip32xx/mtip32xx.h | |
parent | 16d02c040bb6769068f7c4b54ea8542f14237362 (diff) |
mtip32xx: cleanup compat ioctl handling
Do the conversion/copy up front instead of passing in a compat flag
to the ioctl handler and subsequently to the exec_drive_taskfile()
function.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/mtip32xx/mtip32xx.h')
-rw-r--r-- | drivers/block/mtip32xx/mtip32xx.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.h b/drivers/block/mtip32xx/mtip32xx.h index 3423d18e7c86..d6355c6f218f 100644 --- a/drivers/block/mtip32xx/mtip32xx.h +++ b/drivers/block/mtip32xx/mtip32xx.h | |||
@@ -430,10 +430,6 @@ extern void mtip_hw_submit_io(struct driver_data *dd, | |||
430 | void *data, | 430 | void *data, |
431 | int barrier, | 431 | int barrier, |
432 | int dir); | 432 | int dir); |
433 | extern int mtip_hw_ioctl(struct driver_data *dd, | ||
434 | unsigned int cmd, | ||
435 | unsigned long arg, | ||
436 | unsigned char compat); | ||
437 | extern int mtip_hw_sysfs_init(struct driver_data *dd, struct kobject *kobj); | 433 | extern int mtip_hw_sysfs_init(struct driver_data *dd, struct kobject *kobj); |
438 | extern int mtip_hw_sysfs_exit(struct driver_data *dd, struct kobject *kobj); | 434 | extern int mtip_hw_sysfs_exit(struct driver_data *dd, struct kobject *kobj); |
439 | extern int mtip_hw_resume(struct driver_data *dd); | 435 | extern int mtip_hw_resume(struct driver_data *dd); |