commit | 14ff96e04c0b29736c8c81fbe75e86dd373c8e22 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Wed Dec 21 13:13:33 2011 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Wed Dec 21 13:24:43 2011 +0200 |
tree | c4069fac190ad9eeb3daa20882fd45af149dc41b | |
parent | abfbe33410d1931d4c18fa73f3c2cea9688aaad6 [diff] |
usb: renesas: pipe: convert a long if into a XOR operation 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>