summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/hid/hid-winwing.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/hid/hid-winwing.c b/drivers/hid/hid-winwing.c
index d895c82a541d..0e224d1a6466 100644
--- a/drivers/hid/hid-winwing.c
+++ b/drivers/hid/hid-winwing.c
@@ -120,7 +120,6 @@ static int winwing_init_led(struct hid_device *hdev,
static int winwing_probe(struct hid_device *hdev,
const struct hid_device_id *id)
{
- unsigned int minor;
int ret;
ret = hid_parse(hdev);
@@ -135,8 +134,6 @@ static int winwing_probe(struct hid_device *hdev,
return ret;
}
- minor = ((struct hidraw *) hdev->hidraw)->minor;
-
return 0;
}