diff options
author | Pete Zaitcev <zaitcev@redhat.com> | 2007-08-14 03:33:40 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 17:55:14 -0400 |
commit | 30c7431de3631d6a5482a87b7c2453b937e8aa51 (patch) | |
tree | 3780a78433e139b049827aa98a470ca33b491f26 /drivers/usb/mon/mon_text.c | |
parent | 283face86b002e670053e9189604852ccb81d357 (diff) |
usbmon: Update pipe removal to suit my taste
This is a set of small updates to Alan's work to make the code more to
my liking. Mostly premature optimizations, but also direction of control
transfers in the binary interface was always out.
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/mon/mon_text.c')
-rw-r--r-- | drivers/usb/mon/mon_text.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/mon/mon_text.c b/drivers/usb/mon/mon_text.c index 9d0070ceef52..a74069c2e82b 100644 --- a/drivers/usb/mon/mon_text.c +++ b/drivers/usb/mon/mon_text.c | |||
@@ -52,10 +52,11 @@ struct mon_event_text { | |||
52 | int type; /* submit, complete, etc. */ | 52 | int type; /* submit, complete, etc. */ |
53 | unsigned long id; /* From pointer, most of the time */ | 53 | unsigned long id; /* From pointer, most of the time */ |
54 | unsigned int tstamp; | 54 | unsigned int tstamp; |
55 | int xfertype; | ||
56 | int busnum; | 55 | int busnum; |
57 | int devnum; | 56 | char devnum; |
58 | int epnum; | 57 | char epnum; |
58 | char is_in; | ||
59 | char xfertype; | ||
59 | int length; /* Depends on type: xfer length or act length */ | 60 | int length; /* Depends on type: xfer length or act length */ |
60 | int status; | 61 | int status; |
61 | int interval; | 62 | int interval; |
@@ -63,7 +64,6 @@ struct mon_event_text { | |||
63 | int error_count; | 64 | int error_count; |
64 | char setup_flag; | 65 | char setup_flag; |
65 | char data_flag; | 66 | char data_flag; |
66 | char is_in; | ||
67 | int numdesc; /* Full number */ | 67 | int numdesc; /* Full number */ |
68 | struct mon_iso_desc isodesc[ISODESC_MAX]; | 68 | struct mon_iso_desc isodesc[ISODESC_MAX]; |
69 | unsigned char setup[SETUP_MAX]; | 69 | unsigned char setup[SETUP_MAX]; |