]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ieee1394: eth1394: clean up fragment_overlap
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 2 Apr 2007 00:21:46 +0000 (02:21 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 29 Apr 2007 22:00:31 +0000 (00:00 +0200)
commit2e2173df68f419aa41558e1fa90d7263b2d0211f
treec700d159ebf78ecc86d42d5b337933f8c0795d04
parent01590d20b42400be46cf4e565b39764e38ca87fe
ieee1394: eth1394: clean up fragment_overlap

offset > fi->offset + fi->len - 1  ==  !(offset < fi->offset + fi->len)
offset + len - 1 < fi->offset      ==  !(offset + len > fi->offset)
!(A || B)  ==  (!A && !B)

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