trafgen: Remove unused local variable in apply_*() functions.
commitc95c515fa9075443900734039cfd7f92b5ba832f
authorTobias Klauser <tklauser@distanz.ch>
Thu, 1 Aug 2013 07:56:41 +0000 (1 09:56 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Fri, 2 Aug 2013 11:10:13 +0000 (2 13:10 +0200)
tree5ac2254bf2d2aaee041a3e9114a3c11ab185836b
parent0be5b43c75613e803e6cc43dc8fabdcd90e6d166
trafgen: Remove unused local variable in apply_*() functions.

The variable `i' in apply_counter(), apply_randomizer() and
apply_csum16() is only set once, so use the original parameter
`counter_id' instead. Rename `counter_id' to `id' in order to keep it
short.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
trafgen.c