Skip to contentSkip to conversation

s390: remove dynamic dasd ioctls.

PATCH In review Martin Schwidefsky 1 participant 1 message Mar 22, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 12/24 s390: remove dynamic dasd ioctls.

From: Christoph Hellwig <[email protected]>

[patch 12/24] 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.

---

 drivers/s390/block/dasd_int.h   |   11 ------
 drivers/s390/block/dasd_ioctl.c |   69 ----------------------------------------
 2 files changed, 80 deletions(-)
drivers/s390/block/dasd_int.h +0 -11
diff -urpN linux-2.6/drivers/s390/block/dasd_int.h linux-2.6-patched/drivers/s390/block/dasd_int.h
@@ -69,15 +69,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 */
@@ -524,8 +515,6 @@ int dasd_scan_partitions(struct dasd_dev
 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