From: Duncan Sands <baldrick@wanadoo.fr>
To: linux-usb-devel@lists.sourceforge.net
Cc: Greg KH <greg@kroah.com>, linux-kernel@vger.kernel.org
Subject: [PATCH 13/14] USB speedtouch: receive path micro optimization
Date: Wed, 21 May 2003 01:06:00 +0200 [thread overview]
Message-ID: <200305210106.00186.baldrick@wanadoo.fr> (raw)
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;
}
reply other threads:[~2003-05-20 22:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200305210106.00186.baldrick@wanadoo.fr \
--to=baldrick@wanadoo.fr \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®