]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ieee1394: dv1394, video1394: remove unnecessary expressions
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 11 Sep 2008 17:22:53 +0000 (19:22 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 15 Oct 2008 20:21:09 +0000 (22:21 +0200)
commitd98562d12f71284593b3a5db020d6f2655061efe
treeb6ebacb0acfbc6805ce7cd2cb17d061c2d0c8e23
parentf22e52b89e036fd12b9374212da8b5d4a447bd1e
ieee1394: dv1394, video1394: remove unnecessary expressions

init->channel and v.buffer are unsigned and tests for < 0 therefore
always false.  gcc knows this and eliminates the code, but anyway...
Reported by Roel Kluin.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/dv1394.c
drivers/ieee1394/video1394.c