video1394: small optimizations to frame retrieval codepath
authorDaniel Drake <ddrake@brontes3d.com>
Wed, 18 Oct 2006 20:37:14 +0000 (21:37 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 7 Dec 2006 20:31:04 +0000 (21:31 +0100)
commit3c21cfc4babaf4d20384f6f70def308e9b945159
treea5bedb18e8df5fd6349f35053d55b3701aa025bf
parentc1c9c7cd9f33ad6ff4407638060fe2730560bd56
video1394: small optimizations to frame retrieval codepath

Add some GCC branch prediction optimizations to unlikely error/safety
conditions in the ioctl handling code commonly called during an application's
capture loop.

Signed-off-by: Daniel Drake <ddrake@brontes3d.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/video1394.c