diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2010-10-18 08:14:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-24 18:23:35 -0400 |
commit | d618222352ac95ff9a21f1fc1018fffeb8952194 (patch) | |
tree | cb74db8147dd3ac717e0ebd89fc042806391a1eb /.gitignore | |
parent | 38df7a39492d52f4fad484f611f01a01bd8f1e41 (diff) |
pktgen: clean up handling of local/transient counter vars
The temporary variable "i" is needlessly initialized to zero
in two distinct cases in this file:
1) where it is set to zero and then used as an argument in an addition
before being assigned a non-zero value.
2) where it is only used in a standard/typical loop counter
For (1), simply delete assignment to zero and usages while still
zero; for (2) simply make the loop start at zero as per standard
practice as seen everywhere else in the same file.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions