git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abfbe33
)
usb: renesas: pipe: convert a long if into a XOR operation
author
Felipe Balbi
<balbi@ti.com>
Wed, 21 Dec 2011 11:13:33 +0000
(13:13 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Wed, 21 Dec 2011 11:24:43 +0000
(13:24 +0200)
This is just a minor optimization for the long
if we have on the driver.
When we want to check that one input is true
and the other must be false, the bitwise XOR
operator will achieve that for us.
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
No differences found