summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmir Hammad <amir.hammad@hotmail.com>2016-09-11 09:44:58 +0200
committerAmir Hammad <amir.hammad@hotmail.com>2016-09-11 13:31:48 +0200
commitbacf8ecdbb65774f04fce6ec6cd373a2651ddd67 (patch)
treea6524a90f7a6c952db896fe9a1d99ddcc7280ae9
parent2c81d1a3e65b28c132f64f6d6144f4742d989997 (diff)
downloadsecure-hid-bacf8ecdbb65774f04fce6ec6cd373a2651ddd67.tar.gz
secure-hid-bacf8ecdbb65774f04fce6ec6cd373a2651ddd67.tar.bz2
secure-hid-bacf8ecdbb65774f04fce6ec6cd373a2651ddd67.zip
xbox: remove warning about unused variable
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
-rw-r--r--src/usbh_driver_gp_xbox.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/usbh_driver_gp_xbox.c b/src/usbh_driver_gp_xbox.c
index 6393d1b..d9e6d79 100644
--- a/src/usbh_driver_gp_xbox.c
+++ b/src/usbh_driver_gp_xbox.c
@@ -310,7 +310,6 @@ static void poll(void *drvdata, uint32_t time_curr_us)
(void)time_curr_us;
gp_xbox_device_t *gp_xbox = (gp_xbox_device_t *)drvdata;
- usbh_device_t *dev = gp_xbox->usbh_device;
switch (gp_xbox->state_next) {
case STATE_READING_REQUEST: