]> git.baikalelectronics.ru Git - kernel.git/commit
firewire: replace subtraction with bitwise and
authorJarod Wilson <jwilson@redhat.com>
Wed, 23 Jan 2008 21:05:45 +0000 (16:05 -0500)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 30 Jan 2008 21:22:28 +0000 (22:22 +0100)
commitc72f01c28b54e3b7466594571ae7cdea7d27393c
tree7b12f078f358d88e846e9e6e8e9b271d1bcb3db5
parent22cdf85d2f3494b1d6ee9da20e28785b2e8f1d58
firewire: replace subtraction with bitwise and

Replace an unnecessary subtraction with a bitwise AND when determining the
value of ext_tcode in fw_fill_transaction() to save a cpu cycle or two in a
somewhat critical path.

Signed-off-by: Jarod Wilson <jwilson@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-transaction.c