ChangeSet 1.1223, 2003/06/18 16:35:06-07:00, baldrick@wanadoo.fr [PATCH] USB speedtouch: receive path micro optimization Make the most discriminating comparison first. drivers/usb/speedtouch.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/drivers/usb/speedtouch.c b/drivers/usb/speedtouch.c --- a/drivers/usb/speedtouch.c Wed Jun 18 17:35:57 2003 +++ b/drivers/usb/speedtouch.c Wed Jun 18 17:35:57 2003 @@ -257,7 +257,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; }