From: Bartlomiej Zolnierkiewicz Date: Thu, 15 Dec 2005 01:20:15 +0000 (+0100) Subject: [PATCH] ide: cleanup ide_driver_t X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7b4df9ece9b4c4a754bd1f5603cdabff26b987e5;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [PATCH] ide: cleanup ide_driver_t Remove unused fields: ioctl, ata[pi]_prebuilder. Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/include/linux/ide.h b/include/linux/ide.h index 613534b7705..7b6a6a58e46 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -980,10 +980,7 @@ typedef struct ide_driver_s { int (*end_request)(ide_drive_t *, int, int); ide_startstop_t (*error)(ide_drive_t *, struct request *rq, u8, u8); ide_startstop_t (*abort)(ide_drive_t *, struct request *rq); - int (*ioctl)(ide_drive_t *, struct inode *, struct file *, unsigned int, unsigned long); ide_proc_entry_t *proc; - void (*ata_prebuilder)(ide_drive_t *); - void (*atapi_prebuilder)(ide_drive_t *); struct device_driver gen_driver; } ide_driver_t;