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)
commit8c1592d68bc89248bfd0ee287648f41c1370d826
tree1c1d7abe548c92839c55cfe0f0a3745e7ddd3b78
parent93aaae2e01e57483256b7da05c9a7ebd65ad4686
filter: cleanup codes[] init

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>
net/core/filter.c