lkml.org 
[lkml]   [2003]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 13/14] USB speedtouch: receive path micro optimization
Date
Make the most discriminating comparison first.

speedtch.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/usb/misc/speedtch.c b/drivers/usb/misc/speedtch.c
--- a/drivers/usb/misc/speedtch.c Wed May 21 00:41:10 2003
+++ b/drivers/usb/misc/speedtch.c Wed May 21 00:41:10 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;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.044 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site