]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
filter: cleanup codes[] init
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 18 Nov 2010 21:56:38 +0000 (21:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Nov 2010 18:04:23 +0000 (10:04 -0800)
Starting the translated instruction to 1 instead of 0 allows us to
remove one descrement at check time and makes codes[] array init
cleaner.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found