aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/mon/mon_text.c
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@redhat.com>2007-08-14 00:33:40 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 14:55:14 -0700
commit30c7431de3631d6a5482a87b7c2453b937e8aa51 (patch)
tree3780a78433e139b049827aa98a470ca33b491f26 /drivers/usb/mon/mon_text.c
parent283face86b002e670053e9189604852ccb81d357 (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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/mon/mon_text.c b/drivers/usb/mon/mon_text.c
index 9d0070ceef5..a74069c2e82 100644
--- a/drivers/usb/mon/mon_text.c
+++ b/drivers/usb/mon/mon_text.c
@@ -52,10 +52,11 @@ struct mon_event_text {
int type; /* submit, complete, etc. */
unsigned long id; /* From pointer, most of the time */
unsigned int tstamp;
- int xfertype;
int busnum;
- int devnum;
- int epnum;
+ char devnum;
+ char epnum;
+ char is_in;
+ char xfertype;
int length; /* Depends on type: xfer length or act length */
int status;
int interval;
@@ -63,7 +64,6 @@ struct mon_event_text {
int error_count;
char setup_flag;
char data_flag;
- char is_in;
int numdesc; /* Full number */
struct mon_iso_desc isodesc[ISODESC_MAX];
unsigned char setup[SETUP_MAX];