summaryrefslogtreecommitdiff
path: root/proto_vlan.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-08-01 09:56:41 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-08-02 13:10:13 +0200
commitc95c515fa9075443900734039cfd7f92b5ba832f (patch)
tree5ac2254bf2d2aaee041a3e9114a3c11ab185836b /proto_vlan.c
parent0be5b43c75613e803e6cc43dc8fabdcd90e6d166 (diff)
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>
Diffstat (limited to 'proto_vlan.c')
0 files changed, 0 insertions, 0 deletions
Galbraith <efault@gmx.de> Reported-and-tested-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: stable@vger.kernel.org Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1701311901580.3457@nanos
Diffstat (limited to 'tools/testing/selftests/powerpc')