Scubapro G2: clean up unused field

Jef Driesen correctly points out that the 'address' field is just
leftover from the IrDA code, and is meaningless for the USB HID
transport version of the Scubapro G2.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Linus Torvalds 2017-06-15 06:27:21 +09:00 committed by Jef Driesen
parent f107d7c0d8
commit 4ef57b24bb

View File

@ -36,7 +36,6 @@
typedef struct uwatec_g2_device_t {
dc_device_t base;
dc_usbhid_t *usbhid;
unsigned int address;
unsigned int timestamp;
unsigned int devtime;
dc_ticks_t systime;
@ -144,7 +143,6 @@ uwatec_g2_device_open (dc_device_t **out, dc_context_t *context)
// Set the default values.
device->usbhid = NULL;
device->address = 0;
device->timestamp = 0;
device->systime = (dc_ticks_t) -1;
device->devtime = 0;