diff options
| -rw-r--r-- | drivers/isdn/gigaset/bas-gigaset.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/isdn/gigaset/bas-gigaset.c b/drivers/isdn/gigaset/bas-gigaset.c index 8a3c5cfc4fea..3913f47ef86d 100644 --- a/drivers/isdn/gigaset/bas-gigaset.c +++ b/drivers/isdn/gigaset/bas-gigaset.c | |||
| @@ -1157,7 +1157,6 @@ static void write_iso_tasklet(unsigned long data) | |||
| 1157 | struct urb *urb; | 1157 | struct urb *urb; |
| 1158 | int status; | 1158 | int status; |
| 1159 | struct usb_iso_packet_descriptor *ifd; | 1159 | struct usb_iso_packet_descriptor *ifd; |
| 1160 | int offset; | ||
| 1161 | unsigned long flags; | 1160 | unsigned long flags; |
| 1162 | int i; | 1161 | int i; |
| 1163 | struct sk_buff *skb; | 1162 | struct sk_buff *skb; |
| @@ -1225,7 +1224,6 @@ static void write_iso_tasklet(unsigned long data) | |||
| 1225 | * successfully sent | 1224 | * successfully sent |
| 1226 | * - all following frames are not sent at all | 1225 | * - all following frames are not sent at all |
| 1227 | */ | 1226 | */ |
| 1228 | offset = done->limit; /* default (no error) */ | ||
| 1229 | for (i = 0; i < BAS_NUMFRAMES; i++) { | 1227 | for (i = 0; i < BAS_NUMFRAMES; i++) { |
| 1230 | ifd = &urb->iso_frame_desc[i]; | 1228 | ifd = &urb->iso_frame_desc[i]; |
| 1231 | if (ifd->status || | 1229 | if (ifd->status || |
| @@ -1235,9 +1233,6 @@ static void write_iso_tasklet(unsigned long data) | |||
| 1235 | i, ifd->actual_length, | 1233 | i, ifd->actual_length, |
| 1236 | ifd->length, | 1234 | ifd->length, |
| 1237 | get_usb_statmsg(ifd->status)); | 1235 | get_usb_statmsg(ifd->status)); |
| 1238 | offset = (ifd->offset + | ||
| 1239 | ifd->actual_length) | ||
| 1240 | % BAS_OUTBUFSIZE; | ||
| 1241 | break; | 1236 | break; |
| 1242 | } | 1237 | } |
| 1243 | } | 1238 | } |
