aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/gigaset/gigaset.h
diff options
context:
space:
mode:
authorTilman Schmidt <tilman@imap.cc>2008-02-06 04:38:23 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 13:41:11 -0500
commitdbd9823121b4e369bc414be75e12b4f6c84c52c0 (patch)
tree60bda272d600d4b2836e5694acc38d92c05af634 /drivers/isdn/gigaset/gigaset.h
parentf47cd9b553aaada602449204513b5a5b29cba263 (diff)
gigaset: clean up urb->status usage
Make there only be one reference to urb->status per URB callback, and none outside, in preparation for removal of that field. Signed-off-by: Tilman Schmidt <tilman@imap.cc> Cc: Greg KH <gregkh@suse.de> Cc: Hansjoerg Lipp <hjlipp@web.de> Cc: Karsten Keil <kkeil@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/isdn/gigaset/gigaset.h')
-rw-r--r--drivers/isdn/gigaset/gigaset.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/isdn/gigaset/gigaset.h b/drivers/isdn/gigaset/gigaset.h
index 02bdaf22d7ea..c67b5f97c133 100644
--- a/drivers/isdn/gigaset/gigaset.h
+++ b/drivers/isdn/gigaset/gigaset.h
@@ -350,11 +350,13 @@ struct isowbuf_t {
350 * - urb: pointer to the URB itself 350 * - urb: pointer to the URB itself
351 * - bcs: pointer to the B Channel control structure 351 * - bcs: pointer to the B Channel control structure
352 * - limit: end of write buffer area covered by this URB 352 * - limit: end of write buffer area covered by this URB
353 * - status: URB completion status
353 */ 354 */
354struct isow_urbctx_t { 355struct isow_urbctx_t {
355 struct urb *urb; 356 struct urb *urb;
356 struct bc_state *bcs; 357 struct bc_state *bcs;
357 int limit; 358 int limit;
359 int status;
358}; 360};
359 361
360/* AT state structure 362/* AT state structure
@@ -574,6 +576,7 @@ struct bas_bc_state {
574 struct urb *isoinurbs[BAS_INURBS]; 576 struct urb *isoinurbs[BAS_INURBS];
575 unsigned char isoinbuf[BAS_INBUFSIZE * BAS_INURBS]; 577 unsigned char isoinbuf[BAS_INBUFSIZE * BAS_INURBS];
576 struct urb *isoindone; /* completed isoc read URB */ 578 struct urb *isoindone; /* completed isoc read URB */
579 int isoinstatus; /* status of completed URB */
577 int loststatus; /* status of dropped URB */ 580 int loststatus; /* status of dropped URB */
578 unsigned isoinlost; /* number of bytes lost */ 581 unsigned isoinlost; /* number of bytes lost */
579 /* state of bit unstuffing algorithm 582 /* state of bit unstuffing algorithm