From ee808f9dfcdc8fb690b7094011a636bc0a8dd9d2 Mon Sep 17 00:00:00 2001 From: Brendan Shanks Date: Tue, 24 Jan 2012 09:26:38 -0800 Subject: [PATCH] Mac: Remove 'next' from struct hid_device_ Remove 'next' from struct hid_device_, it's unused since device_list was removed --- mac/hid.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/mac/hid.c b/mac/hid.c index 031836c..7a8c88f 100644 --- a/mac/hid.c +++ b/mac/hid.c @@ -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);