Commit 14ff96e04c0b29736c8c81fbe75e86dd373c8e22
1 parent
abfbe33410
Exists in
master
and in
6 other branches
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>
Showing 1 changed file with 1 additions and 2 deletions Side-by-side Diff
drivers/usb/renesas_usbhs/pipe.c