aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/usbhid/hid-quirks.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/usbhid/hid-quirks.c')
-rw-r--r--drivers/hid/usbhid/hid-quirks.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
index 27188bd1e851..17a87555e32f 100644
--- a/drivers/hid/usbhid/hid-quirks.c
+++ b/drivers/hid/usbhid/hid-quirks.c
@@ -477,8 +477,6 @@ static struct hid_blacklist *usbhid_exists_dquirk(const u16 idVendor,
477 struct quirks_list_struct *q; 477 struct quirks_list_struct *q;
478 struct hid_blacklist *bl_entry = NULL; 478 struct hid_blacklist *bl_entry = NULL;
479 479
480 WARN_ON(idVendor == 0);
481
482 list_for_each_entry(q, &dquirks_list, node) { 480 list_for_each_entry(q, &dquirks_list, node) {
483 if (q->hid_bl_item.idVendor == idVendor && 481 if (q->hid_bl_item.idVendor == idVendor &&
484 q->hid_bl_item.idProduct == idProduct) { 482 q->hid_bl_item.idProduct == idProduct) {