act_mirred: combine duplicate code
authorChangli Gao <xiaosuo@gmail.com>
Tue, 29 Jun 2010 22:54:58 +0000 (22:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jun 2010 19:12:36 +0000 (12:12 -0700)
commit5acbf7f10b9e336510a1de79b4af06f6da9a8c5a
treeaaaab271af11fec455b5c57a96044896489ed7fa
parent787a34456dc34bdd75b29cebb53cb09c727674d6
act_mirred: combine duplicate code

act_mirred: combine duplicate code

tcf_bstats is updated in any way, so we can do it earlier to reduce the size of
the code.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
----
 net/sched/act_mirred.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_mirred.c