diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/isdn/gigaset/bas-gigaset.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/isdn/gigaset/bas-gigaset.c b/drivers/isdn/gigaset/bas-gigaset.c index 2dab5313913b..0ded3640b926 100644 --- a/drivers/isdn/gigaset/bas-gigaset.c +++ b/drivers/isdn/gigaset/bas-gigaset.c | |||
@@ -1188,24 +1188,6 @@ static void write_iso_tasklet(unsigned long data) | |||
1188 | break; | 1188 | break; |
1189 | } | 1189 | } |
1190 | } | 1190 | } |
1191 | #ifdef CONFIG_GIGASET_DEBUG | ||
1192 | /* check assumption on remaining frames */ | ||
1193 | for (; i < BAS_NUMFRAMES; i++) { | ||
1194 | ifd = &urb->iso_frame_desc[i]; | ||
1195 | if (ifd->status != -EINPROGRESS | ||
1196 | || ifd->actual_length != 0) { | ||
1197 | dev_warn(cs->dev, | ||
1198 | "isochronous write: frame %d: %s, " | ||
1199 | "%d of %d bytes sent\n", | ||
1200 | i, get_usb_statmsg(ifd->status), | ||
1201 | ifd->actual_length, ifd->length); | ||
1202 | offset = (ifd->offset + | ||
1203 | ifd->actual_length) | ||
1204 | % BAS_OUTBUFSIZE; | ||
1205 | break; | ||
1206 | } | ||
1207 | } | ||
1208 | #endif | ||
1209 | break; | 1191 | break; |
1210 | case -EPIPE: /* stall - probably underrun */ | 1192 | case -EPIPE: /* stall - probably underrun */ |
1211 | dev_err(cs->dev, "isochronous write stalled\n"); | 1193 | dev_err(cs->dev, "isochronous write stalled\n"); |