dasd: kill dynamic ioctl registration
Subsystems (2)
PATCH 5/5 dasd: kill dynamic ioctl registration
Now that there are no more users of the awkward dynamic ioctl hack we can remove the code to support it.
dasd_int.h | 11 --------- dasd_ioctl.c | 69 ----------------------------------------------------------- 2 files changed, 80 deletions(-)
Signed-off-by Christoph Hellwig <[email protected]>
drivers/s390/block/dasd_int.h +0 -11
@@ -68,15 +68,6 @@*/ struct dasd_device ; -typedef int (*dasd_ioctl_fn_t ) (struct block_device *bdev,int no,long args); - -struct dasd_ioctl { -struct list_head list; -struct module *owner; -int no; -dasd_ioctl_fn_t handler; -}; - typedef enum { dasd_era_fatal = -1, /* no chance to recover */ dasd_era_none = 0, /* don't recover, everything alright */
@@ -522,8 +513,6 @@void dasd_destroy_partitions (struct dasd_device *);/* externals in dasd_ioctl.c */ -int dasd_ioctl_no_register (struct module *,int ,dasd_ioctl_fn_t ); -int dasd_ioctl_no_unregister (struct module *,int ,dasd_ioctl_fn_t );int dasd_ioctl (struct inode *,struct file *,unsigned int ,unsigned long );long dasd_compat_ioctl (struct file *,unsigned int ,unsigned long );
drivers/s390/block/dasd_ioctl.c +0 -69
90 lines not on this page · raw message