Mac: Remove 'next' from struct hid_device_

Remove 'next' from struct hid_device_, it's unused since device_list was
removed
This commit is contained in:
Brendan Shanks
2012-01-24 09:26:38 -08:00
committed by Alan Ott
parent 471dd9d5ae
commit ee808f9dfc
-3
View File
@@ -118,8 +118,6 @@ struct hid_device_ {
pthread_barrier_t barrier; /* Ensures correct startup sequence */
pthread_barrier_t shutdown_barrier; /* Ensures correct shutdown sequence */
int shutdown_thread;
hid_device *next;
};
static hid_device *new_hid_device(void)
@@ -135,7 +133,6 @@ static hid_device *new_hid_device(void)
dev->input_report_buf = NULL;
dev->input_reports = NULL;
dev->shutdown_thread = 0;
dev->next = NULL;
/* Thread objects */
pthread_mutex_init(&dev->mutex, NULL);