diff options
Diffstat (limited to 'drivers/isdn/gigaset/common.c')
-rw-r--r-- | drivers/isdn/gigaset/common.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/drivers/isdn/gigaset/common.c b/drivers/isdn/gigaset/common.c index 3ca561eccd9f..db621db67f61 100644 --- a/drivers/isdn/gigaset/common.c +++ b/drivers/isdn/gigaset/common.c | |||
@@ -1026,32 +1026,6 @@ struct cardstate *gigaset_get_cs_by_id(int id) | |||
1026 | return ret; | 1026 | return ret; |
1027 | } | 1027 | } |
1028 | 1028 | ||
1029 | void gigaset_debugdrivers(void) | ||
1030 | { | ||
1031 | unsigned long flags; | ||
1032 | static struct cardstate *cs; | ||
1033 | struct gigaset_driver *drv; | ||
1034 | unsigned i; | ||
1035 | |||
1036 | spin_lock_irqsave(&driver_lock, flags); | ||
1037 | list_for_each_entry(drv, &drivers, list) { | ||
1038 | gig_dbg(DEBUG_DRIVER, "driver %p", drv); | ||
1039 | spin_lock(&drv->lock); | ||
1040 | for (i = 0; i < drv->minors; ++i) { | ||
1041 | gig_dbg(DEBUG_DRIVER, " index %u", i); | ||
1042 | cs = drv->cs + i; | ||
1043 | gig_dbg(DEBUG_DRIVER, " cardstate %p", cs); | ||
1044 | gig_dbg(DEBUG_DRIVER, " flags 0x%02x", cs->flags); | ||
1045 | gig_dbg(DEBUG_DRIVER, " minor_index %u", | ||
1046 | cs->minor_index); | ||
1047 | gig_dbg(DEBUG_DRIVER, " driver %p", cs->driver); | ||
1048 | gig_dbg(DEBUG_DRIVER, " i4l id %d", cs->myid); | ||
1049 | } | ||
1050 | spin_unlock(&drv->lock); | ||
1051 | } | ||
1052 | spin_unlock_irqrestore(&driver_lock, flags); | ||
1053 | } | ||
1054 | |||
1055 | static struct cardstate *gigaset_get_cs_by_minor(unsigned minor) | 1029 | static struct cardstate *gigaset_get_cs_by_minor(unsigned minor) |
1056 | { | 1030 | { |
1057 | unsigned long flags; | 1031 | unsigned long flags; |