diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-07-31 15:29:08 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-07-31 15:29:08 +0200 |
commit | 56ac6ea29e1b9dfdad8c7b1875f81c242362da2a (patch) | |
tree | e467180119e9368bca5b957859bef4e82a906448 /sys/src/cmd/nusb/lib/usb.h | |
parent | b1d4e860642d13805e47ee5cf9f373d8c97d0bc4 (diff) |
nusb/*: cleanup
Diffstat (limited to 'sys/src/cmd/nusb/lib/usb.h')
-rw-r--r-- | sys/src/cmd/nusb/lib/usb.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/src/cmd/nusb/lib/usb.h b/sys/src/cmd/nusb/lib/usb.h index 8fc30ab6b..4c90e8938 100644 --- a/sys/src/cmd/nusb/lib/usb.h +++ b/sys/src/cmd/nusb/lib/usb.h @@ -174,11 +174,10 @@ struct Dev int dfd; /* descriptor for the data file */ int cfd; /* descriptor for the control file */ int isusb3; /* this is a usb3 device */ + int depth; /* hub depth for usb3 hubs */ int maxpkt; /* cached from usb description */ - Ref nerrs; /* number of errors in requests */ Usbdev* usb; /* USB description */ void* aux; /* for the device driver */ - void (*free)(void*); /* idem. to release aux */ char* hname; /* hash name, unique for device */ }; |