diff options
author | Christoph Hellwig <hch@lst.de> | 2006-03-24 06:15:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-24 10:33:17 -0500 |
commit | 82814dbafdeef53e13e07134eb3b7be3c975fd21 (patch) | |
tree | c54dded7519743b678b73fabffea6108fb456eb6 /drivers/s390/block/dasd_int.h | |
parent | 8b2eb664ce9dcba8b54ececf5e057470c47e57f7 (diff) |
[PATCH] s390: remove dynamic dasd ioctls
Now that there are no more users of the awkward dynamic ioctl hack we can
remove the code to support it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/s390/block/dasd_int.h')
-rw-r--r-- | drivers/s390/block/dasd_int.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/s390/block/dasd_int.h b/drivers/s390/block/dasd_int.h index e9485559e22e..6d7fa30fa0b8 100644 --- a/drivers/s390/block/dasd_int.h +++ b/drivers/s390/block/dasd_int.h | |||
@@ -69,15 +69,6 @@ | |||
69 | */ | 69 | */ |
70 | struct dasd_device; | 70 | struct dasd_device; |
71 | 71 | ||
72 | typedef int (*dasd_ioctl_fn_t) (struct block_device *bdev, int no, long args); | ||
73 | |||
74 | struct dasd_ioctl { | ||
75 | struct list_head list; | ||
76 | struct module *owner; | ||
77 | int no; | ||
78 | dasd_ioctl_fn_t handler; | ||
79 | }; | ||
80 | |||
81 | typedef enum { | 72 | typedef enum { |
82 | dasd_era_fatal = -1, /* no chance to recover */ | 73 | dasd_era_fatal = -1, /* no chance to recover */ |
83 | dasd_era_none = 0, /* don't recover, everything alright */ | 74 | dasd_era_none = 0, /* don't recover, everything alright */ |
@@ -524,8 +515,6 @@ int dasd_scan_partitions(struct dasd_device *); | |||
524 | void dasd_destroy_partitions(struct dasd_device *); | 515 | void dasd_destroy_partitions(struct dasd_device *); |
525 | 516 | ||
526 | /* externals in dasd_ioctl.c */ | 517 | /* externals in dasd_ioctl.c */ |
527 | int dasd_ioctl_no_register(struct module *, int, dasd_ioctl_fn_t); | ||
528 | int dasd_ioctl_no_unregister(struct module *, int, dasd_ioctl_fn_t); | ||
529 | int dasd_ioctl(struct inode *, struct file *, unsigned int, unsigned long); | 518 | int dasd_ioctl(struct inode *, struct file *, unsigned int, unsigned long); |
530 | long dasd_compat_ioctl(struct file *, unsigned int, unsigned long); | 519 | long dasd_compat_ioctl(struct file *, unsigned int, unsigned long); |
531 | 520 | ||