ChangeSet 1.1195, 2003/05/20 17:05:56-07:00, baldrick@wanadoo.fr [PATCH] USB speedtouch: receive path micro optimization Make the most discriminating comparison first. diff -Nru a/drivers/usb/misc/speedtch.c b/drivers/usb/misc/speedtch.c --- a/drivers/usb/misc/speedtch.c Tue May 20 17:24:03 2003 +++ b/drivers/usb/misc/speedtch.c Tue May 20 17:24:03 2003 @@ -265,7 +265,7 @@ struct udsl_vcc_data *vcc; list_for_each_entry (vcc, &instance->vcc_list, list) - if ((vcc->vpi == vpi) && (vcc->vci == vci)) + if ((vcc->vci == vci) && (vcc->vpi == vpi)) return vcc; return NULL; }