]> rtime.felk.cvut.cz Git - linux-imx.git/commit
firewire: ohci: optimize control bit checks
authorClemens Ladisch <clemens@ladisch.de>
Sun, 18 Mar 2012 18:03:26 +0000 (19:03 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 18 Mar 2012 21:15:38 +0000 (22:15 +0100)
commit90fcc8987390bffd79c6fd16aa59cc6ef549efcb
tree06a8ea8088e6fe0128f00637e03abe275261e59e
parentb9b5bbfda61c1d202dd943dddca8cdf617863fb9
firewire: ohci: optimize control bit checks

Doing the endian conversion on the constant instead of the memory
field allows the compiler to do the conversion at compile time.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/ohci.c