diff options
author | David S. Miller <davem@davemloft.net> | 2011-04-17 16:22:33 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-17 16:22:33 -0700 |
commit | a713c3bbb5a6736e673940eb97d9bf2c27aec4c5 (patch) | |
tree | b74bc4c58028f9b52f9a7979ce63bfc0f329713e /drivers/isdn/gigaset | |
parent | 0c78641d7f677c8f420f1c302b4848135b207eb8 (diff) | |
download | linux-a713c3bbb5a6736e673940eb97d9bf2c27aec4c5.tar.bz2 |
isdn: gigaset: Fix set-but-unused variable.
The variable 'offset' is set but unused in
write_iso_tasklet(). Just kill it off.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/gigaset')
-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) struct urb *urb; int status; struct usb_iso_packet_descriptor *ifd; - int offset; unsigned long flags; int i; struct sk_buff *skb; @@ -1225,7 +1224,6 @@ static void write_iso_tasklet(unsigned long data) * successfully sent * - all following frames are not sent at all */ - offset = done->limit; /* default (no error) */ for (i = 0; i < BAS_NUMFRAMES; i++) { ifd = &urb->iso_frame_desc[i]; if (ifd->status || @@ -1235,9 +1233,6 @@ static void write_iso_tasklet(unsigned long data) i, ifd->actual_length, ifd->length, get_usb_statmsg(ifd->status)); - offset = (ifd->offset + - ifd->actual_length) - % BAS_OUTBUFSIZE; break; } } |