get rid of unused variable

This commit is contained in:
twinaphex 2015-12-23 04:22:25 +01:00
parent 466953fae8
commit acb4682781

View File

@ -165,7 +165,6 @@ static int16_t hidpad_wiiupro_get_axis(void *data, unsigned axis)
static void hidpad_wiiupro_packet_handler(void *data, uint8_t *packet, uint16_t size)
{
size_t i;
struct hidpad_wiiupro_data *device = (struct hidpad_wiiupro_data*)data;
if (!device)