summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_cirrus.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2011-04-12 07:54:59 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2011-04-19 20:00:11 +0200
commit0ff8fbc61727c926883eec381fbd3d32d1fab504 (patch)
tree37261139bea74569bf4a41bccd5d47d4b406b6a3 /sound/pci/hda/patch_cirrus.c
parentda28947e7e3602669e27d5e9ce787436ed662fa4 (diff)
downloadblackbird-op-linux-0ff8fbc61727c926883eec381fbd3d32d1fab504.tar.gz
blackbird-op-linux-0ff8fbc61727c926883eec381fbd3d32d1fab504.zip
firewire: ohci: optimize find_branch_descriptor()
When z==2, the condition "key == 2" is superfluous because it cannot occur without "b == 3", as a descriptor with b!=3 and key==2 would be an OUTPUT_MORE_IMMEDIATE descriptor which cannot be used alone. Also remove magic numbers and needless computations on the b field. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'sound/pci/hda/patch_cirrus.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud