summaryrefslogtreecommitdiff
path: root/drivers/block/mtip32xx/mtip32xx.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2011-09-27 21:19:53 -0600
committerJens Axboe <axboe@kernel.dk>2011-11-05 08:35:10 +0100
commitef0f1587343a4c17b9b0d9061546e36c1c1bb2ec (patch)
tree3acd32766e0e255693b006555e9ff21845b24324 /drivers/block/mtip32xx/mtip32xx.h
parent16d02c040bb6769068f7c4b54ea8542f14237362 (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.h4
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,
void *data,
int barrier,
int dir);
-extern int mtip_hw_ioctl(struct driver_data *dd,
- unsigned int cmd,
- unsigned long arg,
- unsigned char compat);
extern int mtip_hw_sysfs_init(struct driver_data *dd, struct kobject *kobj);
extern int mtip_hw_sysfs_exit(struct driver_data *dd, struct kobject *kobj);
extern int mtip_hw_resume(struct driver_data *dd);